Author: tkreuzer
Date: Thu Jan 12 15:41:56 2012
New Revision: 54924

URL: http://svn.reactos.org/svn/reactos?rev=54924&view=rev
Log:
[WIN32K]
Try to fix boot

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=54924&r1=54923&r2=54924&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] Thu 
Jan 12 15:41:56 2012
@@ -785,7 +785,7 @@
     /* Allocate a new bitmap with the same dimensions as the source bmp */
     hbmNew = GreCreateBitmapEx(psurfSrc->SurfObj.sizlBitmap.cx,
                                psurfSrc->SurfObj.sizlBitmap.cy,
-                               psurfSrc->SurfObj.lDelta,
+                               abs(psurfSrc->SurfObj.lDelta),
                                psurfSrc->SurfObj.iBitmapFormat,
                                psurfSrc->SurfObj.fjBitmap,
                                psurfSrc->SurfObj.cjBits,


Reply via email to