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
af4871f8
Commit
af4871f8
authored
Apr 23, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Make sure the bounds are always updated in ExtTextOutW.
parent
7b54917f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
graphics.c
dlls/gdi32/dibdrv/graphics.c
+2
-2
No files found.
dlls/gdi32/dibdrv/graphics.c
View file @
af4871f8
...
...
@@ -675,7 +675,7 @@ BOOL dibdrv_ExtTextOut( PHYSDEV dev, INT x, INT y, UINT flags,
free_clipped_rects
(
&
clipped_rects
);
get_clipped_rects
(
&
pdev
->
dib
,
NULL
,
pdev
->
clip
,
&
clipped_rects
);
}
if
(
!
clipped_rects
.
count
)
return
TRUE
;
if
(
!
clipped_rects
.
count
)
goto
done
;
text_color
=
get_pixel_color
(
pdev
,
GetTextColor
(
pdev
->
dev
.
hdc
),
TRUE
);
get_aa_ranges
(
pdev
->
dib
.
funcs
->
pixel_to_colorref
(
&
pdev
->
dib
,
text_color
),
ranges
);
...
...
@@ -712,9 +712,9 @@ BOOL dibdrv_ExtTextOut( PHYSDEV dev, INT x, INT y, UINT flags,
origin
.
y
+=
metrics
.
gmCellIncY
;
}
}
add_clipped_bounds
(
pdev
,
&
bounds
,
pdev
->
clip
);
done:
add_clipped_bounds
(
pdev
,
&
bounds
,
pdev
->
clip
);
free_clipped_rects
(
&
clipped_rects
);
return
TRUE
;
}
...
...
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