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
1eca24bd
Commit
1eca24bd
authored
Feb 09, 2012
by
Huw Davies
Committed by
Alexandre Julliard
Feb 09, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Rename a shadow variable.
parent
f36f49fa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
font.c
dlls/gdi32/font.c
+11
-11
No files found.
dlls/gdi32/font.c
View file @
1eca24bd
...
...
@@ -2340,21 +2340,21 @@ BOOL WINAPI ExtTextOutW( HDC hdc, INT x, INT y, UINT flags,
if
(
!
(
flags
&
ETO_OPAQUE
)
||
x
<
rc
.
left
||
x
+
width
.
x
>=
rc
.
right
||
y
-
tm
.
tmAscent
<
rc
.
top
||
y
+
tm
.
tmDescent
>=
rc
.
bottom
)
{
RECT
rc
;
rc
.
left
=
x
;
rc
.
right
=
x
+
width
.
x
;
rc
.
top
=
y
-
tm
.
tmAscent
;
rc
.
bottom
=
y
+
tm
.
tmDescent
;
RECT
text_box
;
text_box
.
left
=
x
;
text_box
.
right
=
x
+
width
.
x
;
text_box
.
top
=
y
-
tm
.
tmAscent
;
text_box
.
bottom
=
y
+
tm
.
tmDescent
;
if
(
flags
&
ETO_CLIPPED
)
{
rc
.
left
=
max
(
lprect
->
left
,
rc
.
left
);
rc
.
right
=
min
(
lprect
->
right
,
rc
.
right
);
rc
.
top
=
max
(
lprect
->
top
,
rc
.
top
);
rc
.
bottom
=
min
(
lprect
->
bottom
,
rc
.
bottom
);
text_box
.
left
=
max
(
lprect
->
left
,
text_box
.
left
);
text_box
.
right
=
min
(
lprect
->
right
,
text_box
.
right
);
text_box
.
top
=
max
(
lprect
->
top
,
text_box
.
top
);
text_box
.
bottom
=
min
(
lprect
->
bottom
,
text_box
.
bottom
);
}
if
(
rc
.
left
<
rc
.
right
&&
rc
.
top
<
rc
.
bottom
)
physdev
->
funcs
->
pExtTextOut
(
physdev
,
0
,
0
,
ETO_OPAQUE
,
&
rc
,
NULL
,
0
,
NULL
);
if
(
text_box
.
left
<
text_box
.
right
&&
text_box
.
top
<
text_box
.
bottom
)
physdev
->
funcs
->
pExtTextOut
(
physdev
,
0
,
0
,
ETO_OPAQUE
,
&
text_box
,
NULL
,
0
,
NULL
);
}
}
}
...
...
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