[WIN32K]
[reactos.git] / 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;
        }