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
17875091
Commit
17875091
authored
Nov 12, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Nov 13, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus/tests: Use BOOL type where appropriate.
parent
b7dc0021
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
metafile.c
dlls/gdiplus/tests/metafile.c
+5
-5
No files found.
dlls/gdiplus/tests/metafile.c
View file @
17875091
...
@@ -26,9 +26,9 @@
...
@@ -26,9 +26,9 @@
typedef
struct
emfplus_record
typedef
struct
emfplus_record
{
{
ULONG
todo
;
BOOL
todo
;
ULONG
record_type
;
ULONG
record_type
;
ULONG
playback_todo
;
BOOL
playback_todo
;
}
emfplus_record
;
}
emfplus_record
;
typedef
struct
emfplus_check_state
typedef
struct
emfplus_check_state
...
@@ -88,7 +88,7 @@ static int CALLBACK enum_emf_proc(HDC hDC, HANDLETABLE *lpHTable, const ENHMETAR
...
@@ -88,7 +88,7 @@ static int CALLBACK enum_emf_proc(HDC hDC, HANDLETABLE *lpHTable, const ENHMETAR
if
(
state
->
expected
[
state
->
count
].
record_type
)
if
(
state
->
expected
[
state
->
count
].
record_type
)
{
{
actual
.
todo
=
0
;
actual
.
todo
=
FALSE
;
actual
.
record_type
=
record
->
Type
;
actual
.
record_type
=
record
->
Type
;
check_record
(
state
->
count
,
state
->
desc
,
&
state
->
expected
[
state
->
count
],
&
actual
);
check_record
(
state
->
count
,
state
->
desc
,
&
state
->
expected
[
state
->
count
],
&
actual
);
...
@@ -111,7 +111,7 @@ static int CALLBACK enum_emf_proc(HDC hDC, HANDLETABLE *lpHTable, const ENHMETAR
...
@@ -111,7 +111,7 @@ static int CALLBACK enum_emf_proc(HDC hDC, HANDLETABLE *lpHTable, const ENHMETAR
if
(
state
->
expected
[
state
->
count
].
record_type
)
if
(
state
->
expected
[
state
->
count
].
record_type
)
{
{
actual
.
todo
=
0
;
actual
.
todo
=
FALSE
;
actual
.
record_type
=
lpEMFR
->
iType
;
actual
.
record_type
=
lpEMFR
->
iType
;
check_record
(
state
->
count
,
state
->
desc
,
&
state
->
expected
[
state
->
count
],
&
actual
);
check_record
(
state
->
count
,
state
->
desc
,
&
state
->
expected
[
state
->
count
],
&
actual
);
...
@@ -148,7 +148,7 @@ static BOOL CALLBACK enum_metafile_proc(EmfPlusRecordType record_type, unsigned
...
@@ -148,7 +148,7 @@ static BOOL CALLBACK enum_metafile_proc(EmfPlusRecordType record_type, unsigned
emfplus_check_state
*
state
=
(
emfplus_check_state
*
)
userdata
;
emfplus_check_state
*
state
=
(
emfplus_check_state
*
)
userdata
;
emfplus_record
actual
;
emfplus_record
actual
;
actual
.
todo
=
0
;
actual
.
todo
=
FALSE
;
actual
.
record_type
=
record_type
;
actual
.
record_type
=
record_type
;
if
(
dataSize
==
0
)
if
(
dataSize
==
0
)
...
...
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