aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/PlatWin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'win32/PlatWin.cxx')
-rw-r--r--win32/PlatWin.cxx2
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) {