Commit 122b8003 authored by Andrew Ziem's avatar Andrew Ziem Committed by Alexandre Julliard

gdi: Constify data.

parent f77a28ee
......@@ -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 },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment