gdi: Constify data.

This commit is contained in:
Andrew Ziem 2006-05-24 07:58:57 -06:00 committed by Alexandre Julliard
parent f77a28ee91
commit 122b80030f
3 changed files with 6 additions and 6 deletions

View File

@ -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 },

View File

@ -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,

View File

@ -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 },