[WIN32K]
authorJérôme Gardou <jerome.gardou@reactos.org>
Wed, 1 Sep 2010 11:28:50 +0000 (11:28 +0000)
committerJérôme Gardou <jerome.gardou@reactos.org>
Wed, 1 Sep 2010 11:28:50 +0000 (11:28 +0000)
  - Giannis Adamopoulos : "Something is missing here"

svn path=/branches/reactos-yarotows/; revision=48674

subsystems/win32/win32k/eng/surface.c

index b1ac89f..46f96d8 100644 (file)
@@ -208,7 +208,7 @@ SURFACE_bSetBitmapBits(
        else
        {
                /* Align the width (windows compatibility, drivers expect that) */
-       ((((ulWidth << 3) / cBitsPixel) * cBitsPixel + 31) & ~31) >> 3;
+       ulWidth = ((((ulWidth << 3) / cBitsPixel) * cBitsPixel + 31) & ~31) >> 3;
        }