=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: gdiplus/tests: Use BOOL type where appropriate.

Alexandre Julliard julliard at winehq.org
Wed Nov 13 13:34:39 CST 2013


Module: wine
Branch: master
Commit: 17875091113c0069b050ae2bde74c36eb7033b3e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=17875091113c0069b050ae2bde74c36eb7033b3e

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Tue Nov 12 22:11:13 2013 +0100

gdiplus/tests: Use BOOL type where appropriate.

---

 dlls/gdiplus/tests/metafile.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/dlls/gdiplus/tests/metafile.c b/dlls/gdiplus/tests/metafile.c
index aa39351..9dcc803 100644
--- a/dlls/gdiplus/tests/metafile.c
+++ b/dlls/gdiplus/tests/metafile.c
@@ -26,9 +26,9 @@
 
 typedef struct emfplus_record
 {
-    ULONG todo;
+    BOOL  todo;
     ULONG record_type;
-    ULONG playback_todo;
+    BOOL  playback_todo;
 } emfplus_record;
 
 typedef struct emfplus_check_state
@@ -88,7 +88,7 @@ static int CALLBACK enum_emf_proc(HDC hDC, HANDLETABLE *lpHTable, const ENHMETAR
 
                 if (state->expected[state->count].record_type)
                 {
-                    actual.todo = 0;
+                    actual.todo = FALSE;
                     actual.record_type = record->Type;
 
                     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
 
     if (state->expected[state->count].record_type)
     {
-        actual.todo = 0;
+        actual.todo = FALSE;
         actual.record_type = lpEMFR->iType;
 
         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
     emfplus_check_state *state = (emfplus_check_state*)userdata;
     emfplus_record actual;
 
-    actual.todo = 0;
+    actual.todo = FALSE;
     actual.record_type = record_type;
 
     if (dataSize == 0)




More information about the wine-cvs mailing list