[PATCH] winex11: Don't put a default icon on modal dialogs.

Alexandre Julliard julliard at winehq.org
Thu Mar 24 07:53:58 CDT 2016


Alex Henrie <alexhenrie24 at gmail.com> writes:

> @@ -611,7 +612,7 @@ static void fetch_icon_data( HWND hwnd, HICON icon_big, HICON icon_small )
>          if (!icon_small) icon_small = (HICON)GetClassLongPtrW( hwnd, GCLP_HICONSM );
>      }
>  
> -    if (!GetIconInfo(icon_big, &ii)) return;
> +    if (!GetIconInfo(icon_small, &ii) && !GetIconInfo(icon_big, &ii)) return;

This doesn't make sense. What are you trying to do?

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list