[ros-diffs] [jgardou] 48674: [WIN32K] - Giannis Adamopoulos : "Something is missing here"

jgardou at svn.reactos.org jgardou at svn.reactos.org
Wed Sep 1 11:28:51 UTC 2010


Author: jgardou
Date: Wed Sep  1 11:28:50 2010
New Revision: 48674

URL: http://svn.reactos.org/svn/reactos?rev=48674&view=rev
Log:
[WIN32K]
  - Giannis Adamopoulos : "Something is missing here"

Modified:
    branches/reactos-yarotows/subsystems/win32/win32k/eng/surface.c

Modified: branches/reactos-yarotows/subsystems/win32/win32k/eng/surface.c
URL: http://svn.reactos.org/svn/reactos/branches/reactos-yarotows/subsystems/win32/win32k/eng/surface.c?rev=48674&r1=48673&r2=48674&view=diff
==============================================================================
--- branches/reactos-yarotows/subsystems/win32/win32k/eng/surface.c [iso-8859-1] (original)
+++ branches/reactos-yarotows/subsystems/win32/win32k/eng/surface.c [iso-8859-1] Wed Sep  1 11:28:50 2010
@@ -208,7 +208,7 @@
 	else
 	{
 		/* Align the width (windows compatibility, drivers expect that) */
-    	((((ulWidth << 3) / cBitsPixel) * cBitsPixel + 31) & ~31) >> 3;
+    	ulWidth = ((((ulWidth << 3) / cBitsPixel) * cBitsPixel + 31) & ~31) >> 3;
 	}
 
 




More information about the Ros-diffs mailing list