Commit 1d76b94b authored by Alexandre Julliard's avatar Alexandre Julliard

gdi32: Add missing braces in EMFDRV_SelectPalette.

parent fb35a575
...@@ -502,8 +502,10 @@ HPALETTE EMFDRV_SelectPalette( PHYSDEV dev, HPALETTE hPal, BOOL force ) ...@@ -502,8 +502,10 @@ HPALETTE EMFDRV_SelectPalette( PHYSDEV dev, HPALETTE hPal, BOOL force )
DWORD index; DWORD index;
if (hPal == GetStockObject( DEFAULT_PALETTE )) if (hPal == GetStockObject( DEFAULT_PALETTE ))
{
index = DEFAULT_PALETTE | 0x80000000; index = DEFAULT_PALETTE | 0x80000000;
goto found; goto found;
}
if ((index = EMFDRV_FindObject( dev, hPal )) != 0) if ((index = EMFDRV_FindObject( dev, hPal )) != 0)
goto found; goto found;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment