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 930c0fa8b..c8c0a6945 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -781,7 +781,7 @@ int SurfaceGDI::SupportsFeature(Supports feature) noexcept { } bool SurfaceGDI::Initialised() { - return hdc != 0; + return hdc; } void SurfaceGDI::Init(WindowID wid) { |