From 113298a9fc4e80cd2f2ab33938d8ef8b1aac8704 Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 17 Mar 2025 13:30:26 +1100 Subject: Avoid null warning. --- win32/PlatWin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3