[PATCH] gdi.exe16: Remove an unused impl_from_ helper
Michael Stefaniuc
mstefani at mykolab.com
Sat Aug 4 15:40:15 CDT 2018
Grrrr... wrong commit message.
I'm doing too many of this patches and I'm getting blind.
On 2018-08-04 22:36, Michael Stefaniuc wrote:
> Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
> ---
> 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 f0c354bb1c..006dd83947 100644
> --- a/dlls/gdi.exe16/gdi.c
> +++ b/dlls/gdi.exe16/gdi.c
> @@ -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];
> }
More information about the wine-devel
mailing list