Commit b53d84b9 authored by Alexandre Julliard's avatar Alexandre Julliard

user32: Add support for loading 256x256 icons.

parent 9dc88624
......@@ -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;
}
......
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