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
786dc080
Commit
786dc080
authored
Jul 19, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32/tests: Use nameless unions/structs.
parent
297a7349
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
printdlg.c
dlls/comdlg32/tests/printdlg.c
+3
-3
No files found.
dlls/comdlg32/tests/printdlg.c
View file @
786dc080
...
...
@@ -248,8 +248,8 @@ static void test_PrintDlgA(void)
ok
(
pDlg
->
hDevMode
!=
0
,
"hDevMode should not be 0
\n
"
);
dm
=
GlobalLock
(
pDlg
->
hDevMode
);
/* some broken drivers use always PD_USEDEVMODECOPIES */
ok
((
S1
(
U1
(
*
dm
)).
dmCopies
==
1
)
||
broken
(
S1
(
U1
(
*
dm
)).
dmCopies
==
123
),
"expected dm->dmCopies 1, got %d
\n
"
,
S1
(
U1
(
*
dm
)).
dmCopies
);
ok
((
dm
->
dmCopies
==
1
)
||
broken
(
dm
->
dmCopies
==
123
),
"expected dm->dmCopies 1, got %d
\n
"
,
dm
->
dmCopies
);
GlobalUnlock
(
pDlg
->
hDevMode
);
GlobalFree
(
pDlg
->
hDevMode
);
GlobalFree
(
pDlg
->
hDevNames
);
...
...
@@ -263,7 +263,7 @@ static void test_PrintDlgA(void)
ok
(
pDlg
->
nCopies
==
1
,
"expected nCopies 1, got %d
\n
"
,
pDlg
->
nCopies
);
ok
(
pDlg
->
hDevMode
!=
0
,
"hDevMode should not be 0
\n
"
);
dm
=
GlobalLock
(
pDlg
->
hDevMode
);
ok
(
S1
(
U1
(
*
dm
)).
dmCopies
==
123
,
"expected dm->dmCopies 123, got %d
\n
"
,
S1
(
U1
(
*
dm
)).
dmCopies
);
ok
(
dm
->
dmCopies
==
123
,
"expected dm->dmCopies 123, got %d
\n
"
,
dm
->
dmCopies
);
GlobalUnlock
(
pDlg
->
hDevMode
);
GlobalFree
(
pDlg
->
hDevMode
);
GlobalFree
(
pDlg
->
hDevNames
);
...
...
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