diff options
-rw-r--r-- | win32/PlatWin.cxx | 2 |
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() { |