Replace some 16-bit calls by their 32-bit equivalents.
diff --git a/objects/palette.c b/objects/palette.c index 0d2f143..c05beb2 100644 --- a/objects/palette.c +++ b/objects/palette.c
@@ -778,10 +778,14 @@ typedef BOOL WINAPI (*RedrawWindow_funcptr)( HWND, const RECT *, HRGN, UINT ); /********************************************************************** - * UpdateColors (DISPLAY.366) - * UpdateColors16 (GDI.366) + * UpdateColors [GDI32.@] Remaps current colors to logical palette + * + * RETURNS + * Success: TRUE + * Failure: FALSE */ -INT16 WINAPI UpdateColors16( HDC16 hDC ) +BOOL WINAPI UpdateColors( + HDC hDC) /* [in] Handle of device context */ { HMODULE mod; DC *dc; @@ -814,16 +818,12 @@ /********************************************************************** - * UpdateColors [GDI32.@] Remaps current colors to logical palette - * - * RETURNS - * Success: TRUE - * Failure: FALSE + * UpdateColors (DISPLAY.366) + * UpdateColors16 (GDI.366) */ -BOOL WINAPI UpdateColors( - HDC hDC) /* [in] Handle of device context */ +INT16 WINAPI UpdateColors16( HDC16 hDC ) { - UpdateColors16( hDC ); + UpdateColors( hDC ); return TRUE; }