aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2025-03-17 13:30:26 +1100
committerNeil <nyamatongwe@gmail.com>2025-03-17 13:30:26 +1100
commit113298a9fc4e80cd2f2ab33938d8ef8b1aac8704 (patch)
tree25bde5891b8f336e64257c20d541df2feff87ab4
parentb8dbcd85c2b92250b8904b3e13c847d387d6c617 (diff)
downloadscintilla-mirror-113298a9fc4e80cd2f2ab33938d8ef8b1aac8704.tar.gz
Avoid null warning.
-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) {