mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[Win32SS] Fix safe pointer and define type.
This commit is contained in:
parent
c698eff041
commit
3ca67d97e2
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@
|
|||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#define PAL_SETOWNER 0x8000
|
||||
#define PAL_SETPOWNER 0x8000
|
||||
#define MAX_PALCOLORS 65536
|
||||
|
||||
static UINT SystemPaletteUse = SYSPAL_NOSTATIC; /* The program need save the pallete and restore it */
|
||||
|
@ -1304,7 +1304,7 @@ NtGdiEngCreatePalette(
|
|||
}
|
||||
_SEH2_END;
|
||||
|
||||
hPal = EngCreatePalette( iMode/*|PAL_SETOWNER*/, cColors, pulColors, flRed, flGreen, flBlue );
|
||||
hPal = EngCreatePalette( iMode/*|PAL_SETPOWNER*/, cColors, pulcSafe, flRed, flGreen, flBlue );
|
||||
|
||||
if ( cColors > WINDDI_MAXSETPALETTECOLORS ) ExFreePoolWithTag( pulcSafe, GDITAG_UMPD );
|
||||
|
||||
|
|
Loading…
Reference in a new issue