=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: shell32/tests: Use BOOL type where appropriate.
Alexandre Julliard
julliard at winehq.org
Thu Oct 31 16:12:39 CDT 2013
Module: wine
Branch: master
Commit: c398f8ce0e7f137c4c40f40369b8064b158b94f1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c398f8ce0e7f137c4c40f40369b8064b158b94f1
Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date: Wed Oct 30 22:00:15 2013 +0100
shell32/tests: Use BOOL type where appropriate.
---
dlls/shell32/tests/msg.h | 2 +-
dlls/shell32/tests/progman_dde.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/shell32/tests/msg.h b/dlls/shell32/tests/msg.h
index 361ccdb..a457fd4 100644
--- a/dlls/shell32/tests/msg.h
+++ b/dlls/shell32/tests/msg.h
@@ -106,7 +106,7 @@ static void flush_sequences(struct msg_sequence **seq, int n)
}
static void ok_sequence_(struct msg_sequence **seq, int sequence_index,
- const struct message *expected, const char *context, int todo,
+ const struct message *expected, const char *context, BOOL todo,
const char *file, int line)
{
struct msg_sequence *msg_seq = seq[sequence_index];
diff --git a/dlls/shell32/tests/progman_dde.c b/dlls/shell32/tests/progman_dde.c
index 3f2adee..5b22387 100644
--- a/dlls/shell32/tests/progman_dde.c
+++ b/dlls/shell32/tests/progman_dde.c
@@ -363,7 +363,7 @@ static void DdeExecuteCommand(DWORD instance, HCONV hConv, const char *strCmd, H
* window creation happened were not encouraging (not including
* SetWindowsHookEx).
*/
-static void CheckWindowCreated(const char *winName, int closeWindow, int testParams)
+static void CheckWindowCreated(const char *winName, BOOL closeWindow, int testParams)
{
HWND window = NULL;
int i;
@@ -387,7 +387,7 @@ static void CheckWindowCreated(const char *winName, int closeWindow, int testPar
/* Check for Existence (or non-existence) of a file or group
* When testing for existence of a group, groupName is not needed
*/
-static void CheckFileExistsInProgramGroups(const char *nameToCheck, int shouldExist, int isGroup,
+static void CheckFileExistsInProgramGroups(const char *nameToCheck, BOOL shouldExist, BOOL isGroup,
const char *groupName, int testParams)
{
char path[MAX_PATH];
@@ -469,7 +469,7 @@ static void CreateGroupTest(DWORD instance, HCONV hConv, const char *command, UI
* 1. window is open
*/
static void ShowGroupTest(DWORD instance, HCONV hConv, const char *command, UINT expected_result,
- const char *groupName, const char *windowTitle, int closeAfterShowing, int testParams)
+ const char *groupName, const char *windowTitle, BOOL closeAfterShowing, int testParams)
{
HDDEDATA hData;
UINT error;
More information about the wine-cvs
mailing list