Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
0a4f4b23
Commit
0a4f4b23
authored
May 26, 2006
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
May 26, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi: Add more const qualifiers.
parent
cef19b57
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
freetype.c
dlls/gdi/freetype.c
+6
-6
No files found.
dlls/gdi/freetype.c
View file @
0a4f4b23
...
...
@@ -213,7 +213,7 @@ typedef struct tagFace {
typedef
struct
tagFamily
{
struct
list
entry
;
WCHAR
*
FamilyName
;
const
WCHAR
*
FamilyName
;
struct
list
faces
;
}
Family
;
...
...
@@ -275,7 +275,7 @@ struct tagGdiFont {
typedef
struct
{
struct
list
entry
;
WCHAR
*
font_name
;
const
WCHAR
*
font_name
;
struct
list
links
;
}
SYSTEM_LINKS
;
...
...
@@ -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
const
*
SystemFontValues
[
4
]
=
{
static
const
WCHAR
*
const
SystemFontValues
[
4
]
=
{
System_Value
,
OEMFont_Value
,
FixedSys_Value
,
...
...
@@ -348,7 +348,7 @@ static const WCHAR VietnameseW[] = {'V','i','e','t','n','a','m','e','s','e','\0'
static
const
WCHAR
WesternW
[]
=
{
'W'
,
'e'
,
's'
,
't'
,
'e'
,
'r'
,
'n'
,
'\0'
};
static
const
WCHAR
OEM_DOSW
[]
=
{
'O'
,
'E'
,
'M'
,
'/'
,
'D'
,
'O'
,
'S'
,
'\0'
};
static
const
WCHAR
*
ElfScriptsW
[
32
]
=
{
/* these are in the order of the fsCsb[0] bits */
static
const
WCHAR
*
const
ElfScriptsW
[
32
]
=
{
/* these are in the order of the fsCsb[0] bits */
WesternW
,
/*00*/
Central_EuropeanW
,
CyrillicW
,
...
...
@@ -447,7 +447,7 @@ static Face *find_face_from_filename(const WCHAR *file_name, const WCHAR *face_n
{
Family
*
family
;
Face
*
face
;
char
*
file
;
c
onst
c
har
*
file
;
DWORD
len
=
WideCharToMultiByte
(
CP_UNIXCP
,
0
,
file_name
,
-
1
,
NULL
,
0
,
NULL
,
NULL
);
char
*
file_nameA
=
HeapAlloc
(
GetProcessHeap
(),
0
,
len
);
Face
*
ret
=
NULL
;
...
...
@@ -1256,7 +1256,7 @@ static void load_system_fonts(void)
{
HKEY
hkey
;
WCHAR
data
[
MAX_PATH
],
windowsdir
[
MAX_PATH
],
pathW
[
MAX_PATH
];
const
WCHAR
**
value
;
const
WCHAR
*
const
*
value
;
DWORD
dlen
,
type
;
static
const
WCHAR
fmtW
[]
=
{
'%'
,
's'
,
'\\'
,
'%'
,
's'
,
'\0'
};
char
*
unixname
;
...
...
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