gdi: Constify data.
This commit is contained in:
parent
f77a28ee91
commit
122b80030f
|
@ -421,7 +421,7 @@ UINT WINAPI GetDIBColorTable( HDC hdc, UINT startpos, UINT entries, RGBQUAD *col
|
|||
NB. RGBQUAD and PALETTEENTRY have different orderings of red, green
|
||||
and blue - sigh */
|
||||
|
||||
static RGBQUAD EGAColorsQuads[16] = {
|
||||
static const RGBQUAD EGAColorsQuads[16] = {
|
||||
/* rgbBlue, rgbGreen, rgbRed, rgbReserved */
|
||||
{ 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x80, 0x00 },
|
||||
|
@ -441,7 +441,7 @@ static RGBQUAD EGAColorsQuads[16] = {
|
|||
{ 0xff, 0xff, 0xff, 0x00 }
|
||||
};
|
||||
|
||||
static RGBTRIPLE EGAColorsTriples[16] = {
|
||||
static const RGBTRIPLE EGAColorsTriples[16] = {
|
||||
/* rgbBlue, rgbGreen, rgbRed */
|
||||
{ 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x80 },
|
||||
|
@ -461,7 +461,7 @@ static RGBTRIPLE EGAColorsTriples[16] = {
|
|||
{ 0xff, 0xff, 0xff }
|
||||
};
|
||||
|
||||
static RGBQUAD DefLogPaletteQuads[20] = { /* Copy of Default Logical Palette */
|
||||
static const RGBQUAD DefLogPaletteQuads[20] = { /* Copy of Default Logical Palette */
|
||||
/* rgbBlue, rgbGreen, rgbRed, rgbReserved */
|
||||
{ 0x00, 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x80, 0x00 },
|
||||
|
@ -485,7 +485,7 @@ static RGBQUAD DefLogPaletteQuads[20] = { /* Copy of Default Logical Palette */
|
|||
{ 0xff, 0xff, 0xff, 0x00 }
|
||||
};
|
||||
|
||||
static RGBTRIPLE DefLogPaletteTriples[20] = { /* Copy of Default Logical Palette */
|
||||
static const RGBTRIPLE DefLogPaletteTriples[20] = { /* Copy of Default Logical Palette */
|
||||
/* rgbBlue, rgbGreen, rgbRed */
|
||||
{ 0x00, 0x00, 0x00 },
|
||||
{ 0x00, 0x00, 0x80 },
|
||||
|
|
|
@ -319,7 +319,7 @@ static const WCHAR FixedSys_Value[] = {'F','I','X','E','D','F','O','N','.','F','
|
|||
static const WCHAR System_Value[] = {'F','O','N','T','S','.','F','O','N','\0'};
|
||||
static const WCHAR OEMFont_Value[] = {'O','E','M','F','O','N','T','.','F','O','N','\0'};
|
||||
|
||||
static const WCHAR *SystemFontValues[4] = {
|
||||
static const WCHAR const *SystemFontValues[4] = {
|
||||
System_Value,
|
||||
OEMFont_Value,
|
||||
FixedSys_Value,
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
#include "wine/test.h"
|
||||
|
||||
static PALETTEENTRY logpalettedata[8] = {
|
||||
static const PALETTEENTRY logpalettedata[8] = {
|
||||
{ 0x10, 0x20, 0x30, PC_NOCOLLAPSE },
|
||||
{ 0x20, 0x30, 0x40, PC_NOCOLLAPSE },
|
||||
{ 0x30, 0x40, 0x50, PC_NOCOLLAPSE },
|
||||
|
|
Loading…
Reference in New Issue