gdi16: Use boolean return value in boolean function.
This commit is contained in:
parent
bdc9b147b9
commit
f43234289d
|
@ -2907,7 +2907,7 @@ BOOL16 WINAPI IsGDIObject16( HGDIOBJ16 handle16 )
|
||||||
|
|
||||||
UINT type = GetObjectType( HGDIOBJ_32( 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];
|
return type_map[type];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue