André Hentschel : gdi16: Use boolean return value in boolean function.
Module: wine Branch: master Commit: f43234289dda0b547cd083e7aa88c380b4742ab4 URL: http://source.winehq.org/git/wine.git/?a=commit;h=f43234289dda0b547cd083e7aa... Author: André Hentschel <nerv(a)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]; }
participants (1)
-
Alexandre Julliard