[ros-diffs] [gschneider] 39180: Set the header size as expected instead of setting the bitmap width

gschneider at svn.reactos.org gschneider at svn.reactos.org
Wed Jan 28 16:43:03 CET 2009


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/objects/bitmaps.c?rev=39180&r1=39179&r2=39180&view=diff
==============================================================================
--- 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;



More information about the Ros-diffs mailing list