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
cc97a238
Commit
cc97a238
authored
Dec 21, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Dec 23, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32/tests: Constify a character string.
parent
9f2ebd77
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
font.c
dlls/gdi32/tests/font.c
+4
-4
No files found.
dlls/gdi32/tests/font.c
View file @
cc97a238
...
...
@@ -2132,18 +2132,18 @@ static void test_GetOutlineTextMetrics(void)
ReleaseDC
(
0
,
hdc
);
}
static
void
testJustification
(
HDC
hdc
,
PSTR
str
,
RECT
*
clientArea
)
static
void
testJustification
(
HDC
hdc
,
P
C
STR
str
,
RECT
*
clientArea
)
{
INT
y
,
breakCount
,
areaWidth
=
clientArea
->
right
-
clientArea
->
left
,
nErrors
=
0
,
e
;
PSTR
pFirstChar
,
pLastChar
;
const
char
*
pFirstChar
,
*
pLastChar
;
SIZE
size
;
TEXTMETRICA
tm
;
struct
err
{
char
*
start
;
c
onst
c
har
*
start
;
int
len
;
int
GetTextExtentExPointWWidth
;
}
error
[
20
];
...
...
@@ -2220,7 +2220,7 @@ static void test_SetTextJustification(void)
SIZE
size
,
expect
;
int
i
;
WORD
indices
[
2
];
static
char
testText
[]
=
static
c
onst
c
har
testText
[]
=
"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do "
"eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut "
"enim ad minim veniam, quis nostrud exercitation ullamco laboris "
...
...
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