gdi16: Use boolean return value in boolean function

André Hentschel nerv at dawncrow.de
Wed Jan 29 15:28:31 CST 2014


---
 dlls/gdi.exe16/gdi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/gdi.exe16/gdi.c b/dlls/gdi.exe16/gdi.c
index c2193a9..8ee37d7 100644
--- a/dlls/gdi.exe16/gdi.c
+++ b/dlls/gdi.exe16/gdi.c
@@ -2907,7 +2907,7 @@ BOOL16 WINAPI IsGDIObject16( HGDIOBJ16 handle16 )
 
     UINT type = GetObjectType( HGDIOBJ_32( handle16 ));
 
-    if (type >= sizeof(type_map)/sizeof(type_map[0])) return 0;
+    if (type >= sizeof(type_map)/sizeof(type_map[0])) return FALSE;
     return type_map[type];
 }
 
-- 
1.8.1.2





More information about the wine-patches mailing list