mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
Fix typo. palate -> pallete
svn path=/trunk/; revision=24111
This commit is contained in:
parent
1b75e6549e
commit
63ae604355
1 changed files with 3 additions and 3 deletions
|
@ -36,7 +36,7 @@ static HPALETTE hPrimaryPalette = 0; // used for WM_PALETTECHANGED
|
||||||
//static HPALETTE hLastRealizedPalette = 0; // UnrealizeObject() needs it
|
//static HPALETTE hLastRealizedPalette = 0; // UnrealizeObject() needs it
|
||||||
|
|
||||||
|
|
||||||
static UINT SystemPaletteUse = SYSPAL_NOSTATIC; /* the program need save the palate and restore it */
|
static UINT SystemPaletteUse = SYSPAL_NOSTATIC; /* the program need save the pallete and restore it */
|
||||||
|
|
||||||
const PALETTEENTRY COLOR_sysPalTemplate[NB_RESERVED_COLORS] =
|
const PALETTEENTRY COLOR_sysPalTemplate[NB_RESERVED_COLORS] =
|
||||||
{
|
{
|
||||||
|
@ -388,7 +388,7 @@ UINT STDCALL NtGdiRealizePalette(HDC hDC)
|
||||||
{
|
{
|
||||||
/* FIXME - Handle palGDI == NULL!!!!
|
/* FIXME - Handle palGDI == NULL!!!!
|
||||||
we should not unlock dc and return 0 ??
|
we should not unlock dc and return 0 ??
|
||||||
shall we create the palate ??
|
shall we create the pallete ??
|
||||||
*/
|
*/
|
||||||
DC_UnlockDc(dc);
|
DC_UnlockDc(dc);
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -401,7 +401,7 @@ UINT STDCALL NtGdiRealizePalette(HDC hDC)
|
||||||
{
|
{
|
||||||
/* FIXME - Handle sysGDI == NULL!!!!!
|
/* FIXME - Handle sysGDI == NULL!!!!!
|
||||||
we should not unlock dc and return 0 ??
|
we should not unlock dc and return 0 ??
|
||||||
shall we create the palate ??
|
shall we create the pallete ??
|
||||||
*/
|
*/
|
||||||
PALETTE_UnlockPalette(palGDI);
|
PALETTE_UnlockPalette(palGDI);
|
||||||
DC_UnlockDc(dc);
|
DC_UnlockDc(dc);
|
||||||
|
|
Loading…
Reference in a new issue