diff options
author | Neil <nyamatongwe@gmail.com> | 2025-03-17 13:30:26 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2025-03-17 13:30:26 +1100 |
commit | 113298a9fc4e80cd2f2ab33938d8ef8b1aac8704 (patch) | |
tree | 25bde5891b8f336e64257c20d541df2feff87ab4 | |
parent | b8dbcd85c2b92250b8904b3e13c847d387d6c617 (diff) | |
download | scintilla-mirror-113298a9fc4e80cd2f2ab33938d8ef8b1aac8704.tar.gz |
Avoid null warning.
-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) { |