=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: gdi16: Use boolean return value in boolean function.
Alexandre Julliard
julliard at winehq.org
Tue Feb 4 13:55:05 CST 2014
Module: wine
Branch: master
Commit: f43234289dda0b547cd083e7aa88c380b4742ab4
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f43234289dda0b547cd083e7aa88c380b4742ab4
Author: André Hentschel <nerv at dawncrow.de>
Date: Wed Jan 29 22:28:31 2014 +0100
gdi16: Use boolean return value in boolean function.
---
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];
}
More information about the wine-cvs
mailing list