Author: jimtabor
Date: Tue Oct 25 02:53:44 2011
New Revision: 54254
URL:
http://svn.reactos.org/svn/reactos?rev=54254&view=rev
Log:
- Port wine right.
Modified:
trunk/reactos/dll/win32/user32/windows/cursoricon.c
Modified: trunk/reactos/dll/win32/user32/windows/cursoricon.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/c…
==============================================================================
--- trunk/reactos/dll/win32/user32/windows/cursoricon.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/windows/cursoricon.c [iso-8859-1] Tue Oct 25 02:53:44
2011
@@ -241,7 +241,9 @@
*compr = 0;
return 0;
}
- else if (header->biSize >= sizeof(BITMAPINFOHEADER))
+ else if (header->biSize == sizeof(BITMAPINFOHEADER) ||
+ header->biSize == sizeof(BITMAPV4HEADER) ||
+ header->biSize == sizeof(BITMAPV5HEADER))
{
*width = header->biWidth;
*height = header->biHeight;