user32: Add support for loading 256x256 icons.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9dc886244b
commit
b53d84b947
|
@ -873,6 +873,7 @@ static BOOL CURSORICON_GetResIconEntry( LPCVOID dir, DWORD size, int n,
|
|||
*width = icon->bWidth;
|
||||
*height = icon->bHeight;
|
||||
*bits = resdir->idEntries[n].wBitCount;
|
||||
if (!*width && !*height && have_libpng()) *width = *height = 256;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue