From c5ca23c91a3bd75fd688daa11f1f2aff17be2bf4 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 5 Oct 2001 09:29:01 +0000 Subject: Fixed warning from Digital Mars compiler. --- win32/PlatWin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index a177f1def..b9164c757 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -309,7 +309,7 @@ void Surface::Release() { } bool Surface::Initialised() { - return hdc; + return hdc != 0; } void Surface::Init() { -- cgit v1.2.3