Commit 17875091 authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

gdiplus/tests: Use BOOL type where appropriate.

parent b7dc0021
...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment