Author: sginsberg
Date: Thu Aug 6 00:01:21 2009
New Revision: 42412
URL:
http://svn.reactos.org/svn/reactos?rev=42412&view=rev
Log:
- Fix msvc build of win32k -- reported by Amine.
Modified:
trunk/reactos/subsystems/win32/win32k/eng/xlate.c
Modified: trunk/reactos/subsystems/win32/win32k/eng/xlate.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/en…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/eng/xlate.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/eng/xlate.c [iso-8859-1] Thu Aug 6 00:01:21
2009
@@ -685,6 +685,7 @@
{
HPALETTE hpalDst = NULL;
PPALETTE ppalDst, ppalPattern;
+ SURFACE *psurfPattern;
ASSERT(pexlo);
ASSERT(pbrush);
@@ -702,7 +703,7 @@
return;
}
- SURFACE *psurfPattern = SURFACE_ShareLockSurface(pbrush->hbmPattern);
+ psurfPattern = SURFACE_ShareLockSurface(pbrush->hbmPattern);
if (!psurfPattern)
{
PALETTE_ShareUnlockPalette(ppalDst);