mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
- Fix msvc build of win32k -- reported by Amine.
svn path=/trunk/; revision=42412
This commit is contained in:
parent
8b24ebb671
commit
2591c586a2
1 changed files with 2 additions and 1 deletions
|
@ -685,6 +685,7 @@ EXLATEOBJ_vInitBrushXlate(
|
|||
{
|
||||
HPALETTE hpalDst = NULL;
|
||||
PPALETTE ppalDst, ppalPattern;
|
||||
SURFACE *psurfPattern;
|
||||
|
||||
ASSERT(pexlo);
|
||||
ASSERT(pbrush);
|
||||
|
@ -702,7 +703,7 @@ EXLATEOBJ_vInitBrushXlate(
|
|||
return;
|
||||
}
|
||||
|
||||
SURFACE *psurfPattern = SURFACE_ShareLockSurface(pbrush->hbmPattern);
|
||||
psurfPattern = SURFACE_ShareLockSurface(pbrush->hbmPattern);
|
||||
if (!psurfPattern)
|
||||
{
|
||||
PALETTE_ShareUnlockPalette(ppalDst);
|
||||
|
|
Loading…
Reference in a new issue