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
24186d42
Commit
24186d42
authored
Nov 28, 2007
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Nov 29, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Fix the type of two loop variables.
parent
2ff2d885
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
font.c
dlls/gdi32/font.c
+3
-2
No files found.
dlls/gdi32/font.c
View file @
24186d42
...
@@ -2128,7 +2128,8 @@ BOOL WINAPI ExtTextOutW( HDC hdc, INT x, INT y, UINT flags,
...
@@ -2128,7 +2128,8 @@ BOOL WINAPI ExtTextOutW( HDC hdc, INT x, INT y, UINT flags,
{
{
HFONT
orig_font
=
dc
->
hFont
,
cur_font
;
HFONT
orig_font
=
dc
->
hFont
,
cur_font
;
UINT
glyph
;
UINT
glyph
;
INT
span
=
0
,
*
offsets
=
NULL
,
i
;
INT
span
=
0
,
*
offsets
=
NULL
;
unsigned
int
i
;
glyphs
=
HeapAlloc
(
GetProcessHeap
(),
0
,
count
*
sizeof
(
WORD
));
glyphs
=
HeapAlloc
(
GetProcessHeap
(),
0
,
count
*
sizeof
(
WORD
));
for
(
i
=
0
;
i
<
count
;
i
++
)
for
(
i
=
0
;
i
<
count
;
i
++
)
...
@@ -2138,7 +2139,7 @@ BOOL WINAPI ExtTextOutW( HDC hdc, INT x, INT y, UINT flags,
...
@@ -2138,7 +2139,7 @@ BOOL WINAPI ExtTextOutW( HDC hdc, INT x, INT y, UINT flags,
{
{
if
(
!
offsets
)
if
(
!
offsets
)
{
{
int
j
;
unsigned
int
j
;
offsets
=
HeapAlloc
(
GetProcessHeap
(),
0
,
count
*
sizeof
(
*
deltas
));
offsets
=
HeapAlloc
(
GetProcessHeap
(),
0
,
count
*
sizeof
(
*
deltas
));
offsets
[
0
]
=
0
;
offsets
[
0
]
=
0
;
if
(
!
deltas
)
if
(
!
deltas
)
...
...
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