Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
2e2a0774
Commit
2e2a0774
authored
Jan 22, 2009
by
Huw Davies
Committed by
Alexandre Julliard
Jan 23, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32: Fix incorrect scaling.
parent
2bd53e27
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
printdlg.c
dlls/comdlg32/printdlg.c
+2
-2
No files found.
dlls/comdlg32/printdlg.c
View file @
2e2a0774
...
@@ -3572,8 +3572,8 @@ PRINTDLG_PagePaintProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
...
@@ -3572,8 +3572,8 @@ PRINTDLG_PagePaintProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
rcMargin
=
rcClient
;
rcMargin
=
rcClient
;
rcMargin
.
left
+=
pagesetup_get_margin_rect
(
data
)
->
left
*
scalx
;
rcMargin
.
left
+=
pagesetup_get_margin_rect
(
data
)
->
left
*
scalx
;
rcMargin
.
top
+=
pagesetup_get_margin_rect
(
data
)
->
top
*
scal
x
;
rcMargin
.
top
+=
pagesetup_get_margin_rect
(
data
)
->
top
*
scal
y
;
rcMargin
.
right
-=
pagesetup_get_margin_rect
(
data
)
->
right
*
scal
y
;
rcMargin
.
right
-=
pagesetup_get_margin_rect
(
data
)
->
right
*
scal
x
;
rcMargin
.
bottom
-=
pagesetup_get_margin_rect
(
data
)
->
bottom
*
scaly
;
rcMargin
.
bottom
-=
pagesetup_get_margin_rect
(
data
)
->
bottom
*
scaly
;
/* if the space is too small then we make sure to not draw anything */
/* if the space is too small then we make sure to not draw anything */
...
...
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