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
32057bf1
Commit
32057bf1
authored
Feb 21, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Don't paint the text rectangle in transparent mode unless a rectangle is…
gdi32: Don't paint the text rectangle in transparent mode unless a rectangle is explicitly specified.
parent
903803b5
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 @
32057bf1
...
@@ -2198,7 +2198,7 @@ BOOL WINAPI ExtTextOutW( HDC hdc, INT x, INT y, UINT flags,
...
@@ -2198,7 +2198,7 @@ BOOL WINAPI ExtTextOutW( HDC hdc, INT x, INT y, UINT flags,
if
(
rc
.
top
>
rc
.
bottom
)
{
INT
tmp
=
rc
.
top
;
rc
.
top
=
rc
.
bottom
;
rc
.
bottom
=
tmp
;}
if
(
rc
.
top
>
rc
.
bottom
)
{
INT
tmp
=
rc
.
top
;
rc
.
top
=
rc
.
bottom
;
rc
.
bottom
=
tmp
;}
}
}
if
(
flags
&
ETO_OPAQUE
)
if
(
lprect
&&
(
flags
&
ETO_OPAQUE
)
)
physdev
->
funcs
->
pExtTextOut
(
physdev
,
0
,
0
,
ETO_OPAQUE
,
&
rc
,
NULL
,
0
,
NULL
);
physdev
->
funcs
->
pExtTextOut
(
physdev
,
0
,
0
,
ETO_OPAQUE
,
&
rc
,
NULL
,
0
,
NULL
);
if
(
count
==
0
)
if
(
count
==
0
)
...
@@ -2354,7 +2354,8 @@ BOOL WINAPI ExtTextOutW( HDC hdc, INT x, INT y, UINT flags,
...
@@ -2354,7 +2354,8 @@ BOOL WINAPI ExtTextOutW( HDC hdc, INT x, INT y, UINT flags,
{
{
if
(
!
((
flags
&
ETO_CLIPPED
)
&&
(
flags
&
ETO_OPAQUE
)))
if
(
!
((
flags
&
ETO_CLIPPED
)
&&
(
flags
&
ETO_OPAQUE
)))
{
{
if
(
!
(
flags
&
ETO_OPAQUE
)
||
x
<
rc
.
left
||
x
+
width
.
x
>=
rc
.
right
||
if
(
!
(
flags
&
ETO_OPAQUE
)
||
!
lprect
||
x
<
rc
.
left
||
x
+
width
.
x
>=
rc
.
right
||
y
-
tm
.
tmAscent
<
rc
.
top
||
y
+
tm
.
tmDescent
>=
rc
.
bottom
)
y
-
tm
.
tmAscent
<
rc
.
top
||
y
+
tm
.
tmDescent
>=
rc
.
bottom
)
{
{
RECT
text_box
;
RECT
text_box
;
...
...
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