Commit d8e66774 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

gdi.exe16: Use the ARRAY_SIZE() macro.

parent 7000af55
......@@ -3048,7 +3048,7 @@ BOOL16 WINAPI IsGDIObject16( HGDIOBJ16 handle16 )
UINT type = GetObjectType( HGDIOBJ_32( handle16 ));
if (type >= sizeof(type_map)/sizeof(type_map[0])) return FALSE;
if (type >= ARRAY_SIZE(type_map)) return FALSE;
return type_map[type];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment