aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2001-10-05 09:29:01 +0000
committernyamatongwe <devnull@localhost>2001-10-05 09:29:01 +0000
commit99be6fb45eed4904c751cad6bf68f3a711b0ebad (patch)
treef7239a988942ec8c856dc10fd7af1221cbef888a
parent5e8c6999aa1134d3ac485abd112e08c65aae1dc9 (diff)
downloadscintilla-mirror-99be6fb45eed4904c751cad6bf68f3a711b0ebad.tar.gz
Fixed warning from Digital Mars compiler.
-rw-r--r--win32/PlatWin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx
index a177f1def..b9164c757 100644
--- a/win32/PlatWin.cxx
+++ b/win32/PlatWin.cxx
@@ -309,7 +309,7 @@ void Surface::Release() {
}
bool Surface::Initialised() {
- return hdc;
+ return hdc != 0;
}
void Surface::Init() {