From ce75f117fdf49671a662b8812ca0da8455f04966 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Gardou?= Date: Wed, 1 Sep 2010 11:28:50 +0000 Subject: [PATCH] [WIN32K] - Giannis Adamopoulos : "Something is missing here" svn path=/branches/reactos-yarotows/; revision=48674 --- subsystems/win32/win32k/eng/surface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsystems/win32/win32k/eng/surface.c b/subsystems/win32/win32k/eng/surface.c index b1ac89f07f0..46f96d81c3e 100644 --- a/subsystems/win32/win32k/eng/surface.c +++ b/subsystems/win32/win32k/eng/surface.c @@ -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; } -- 2.17.1