gdi32: Add missing braces in EMFDRV_SelectPalette.

This commit is contained in:
Alexandre Julliard 2008-05-09 12:02:21 +02:00
parent fb35a5754c
commit 1d76b94b47
1 changed files with 2 additions and 0 deletions

View File

@ -502,8 +502,10 @@ HPALETTE EMFDRV_SelectPalette( PHYSDEV dev, HPALETTE hPal, BOOL force )
DWORD index;
if (hPal == GetStockObject( DEFAULT_PALETTE ))
{
index = DEFAULT_PALETTE | 0x80000000;
goto found;
}
if ((index = EMFDRV_FindObject( dev, hPal )) != 0)
goto found;