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
75e87c30
Commit
75e87c30
authored
Jul 09, 2023
by
Piotr Caban
Committed by
Alexandre Julliard
Jul 10, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineps: Fix SetTextJustification playback with 0 count parameter.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=55078
parent
029bac07
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
printproc.c
dlls/wineps.drv/printproc.c
+10
-2
No files found.
dlls/wineps.drv/printproc.c
View file @
75e87c30
...
...
@@ -2792,8 +2792,16 @@ static int WINAPI hmf_proc(HDC hdc, HANDLETABLE *htable,
{
const
EMRSETTEXTJUSTIFICATION
*
p
=
(
const
EMRSETTEXTJUSTIFICATION
*
)
rec
;
data
->
break_extra
=
p
->
break_extra
/
p
->
break_count
;
data
->
break_rem
=
p
->
break_extra
-
data
->
break_extra
*
p
->
break_count
;
if
(
p
->
break_count
)
{
data
->
break_extra
=
p
->
break_extra
/
p
->
break_count
;
data
->
break_rem
=
p
->
break_extra
-
data
->
break_extra
*
p
->
break_count
;
}
else
{
data
->
break_extra
=
0
;
data
->
break_rem
=
0
;
}
return
PlayEnhMetaFileRecord
(
data
->
ctx
->
hdc
,
htable
,
rec
,
handle_count
);
}
...
...
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