Author: gschneider
Date: Wed Jan 28 09:43:02 2009
New Revision: 39180
URL:
http://svn.reactos.org/svn/reactos?rev=39180&view=rev
Log:
Set the header size as expected instead of setting the bitmap width
Modified:
trunk/reactos/subsystems/win32/win32k/objects/bitmaps.c
Modified: trunk/reactos/subsystems/win32/win32k/objects/bitmaps.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ob…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/bitmaps.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/bitmaps.c [iso-8859-1] Wed Jan 28
09:43:02 2009
@@ -834,7 +834,7 @@
/* Fill rest of DIBSECTION */
PDIBSECTION pds = buffer;
- pds->dsBmih.biSize =
+ pds->dsBmih.biSize = sizeof(BITMAPINFOHEADER);
pds->dsBmih.biWidth = pds->dsBm.bmWidth;
pds->dsBmih.biHeight = pds->dsBm.bmHeight;
pds->dsBmih.biPlanes = pds->dsBm.bmPlanes;