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
2b217ea9
Commit
2b217ea9
authored
Feb 29, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Feb 29, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32: Assign to structs instead of using memcpy.
parent
8349a9f5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
fontdlg.c
dlls/comdlg32/fontdlg.c
+1
-1
printdlg.c
dlls/comdlg32/printdlg.c
+1
-1
No files found.
dlls/comdlg32/fontdlg.c
View file @
2b217ea9
...
...
@@ -374,7 +374,7 @@ static int SetFontStylesToCombo2(HWND hwnd, HDC hdc, const LOGFONTW *lplf)
int
i
,
j
;
LOGFONTW
lf
;
memcpy
(
&
lf
,
lplf
,
sizeof
(
LOGFONTW
))
;
lf
=
*
lplf
;
for
(
i
=
0
;
i
<
FSTYLES
;
i
++
)
{
...
...
dlls/comdlg32/printdlg.c
View file @
2b217ea9
...
...
@@ -2850,7 +2850,7 @@ PRINTDLG_PS_ChangePaperPrev(const PageSetupDataA *pda)
MoveWindow
(
GetDlgItem
(
pda
->
hDlg
,
rct2
),
x
+
width
,
y
+
SHADOW
,
SHADOW
,
height
,
FALSE
);
MoveWindow
(
GetDlgItem
(
pda
->
hDlg
,
rct3
),
x
+
SHADOW
,
y
+
height
,
width
,
SHADOW
,
FALSE
);
MoveWindow
(
GetDlgItem
(
pda
->
hDlg
,
rct1
),
x
,
y
,
width
,
height
,
FALSE
);
memcpy
(
&
rtTmp
,
&
pda
->
rtDrawRect
,
sizeof
(
RECT
))
;
rtTmp
=
pda
->
rtDrawRect
;
rtTmp
.
right
+=
SHADOW
;
rtTmp
.
bottom
+=
SHADOW
;
#undef SHADOW
...
...
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