dlls/shell32/pidl.c -- adjust to unsignedness of a type

Alexandre Julliard julliard at winehq.org
Sat Feb 16 09:03:53 CST 2008


Gerald Pfeifer <gerald at pfeifer.com> writes:

> @@ -109,7 +109,7 @@ BOOL WINAPI ILGetDisplayNameExW(LPSHELLF
>              return FALSE;
>      }
>  
> -    if (type >= 0 && type <= 2)
> +    if (type <= 2)
>      {
>          switch (type)
>          {

The test should probably be removed completely since there's already a
default for it in the switch() that follows.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list