Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
122b8003
Commit
122b8003
authored
May 24, 2006
by
Andrew Ziem
Committed by
Alexandre Julliard
May 25, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi: Constify data.
parent
f77a28ee
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
dib.c
dlls/gdi/dib.c
+4
-4
freetype.c
dlls/gdi/freetype.c
+1
-1
palette.c
dlls/gdi/tests/palette.c
+1
-1
No files found.
dlls/gdi/dib.c
View file @
122b8003
...
...
@@ -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
},
...
...
dlls/gdi/freetype.c
View file @
122b8003
...
...
@@ -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
,
...
...
dlls/gdi/tests/palette.c
View file @
122b8003
...
...
@@ -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
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment