Michael Stefaniuc : explorerframe/tests: Avoid a TRUE: FALSE conditional expression.
Alexandre Julliard
julliard at winehq.org
Wed Aug 15 14:08:31 CDT 2012
Module: wine
Branch: master
Commit: 25b0efa5bbd44f91ff7eab810bb866e150888136
URL: http://source.winehq.org/git/wine.git/?a=commit;h=25b0efa5bbd44f91ff7eab810bb866e150888136
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Tue Aug 14 23:04:59 2012 +0200
explorerframe/tests: Avoid a TRUE:FALSE conditional expression.
---
dlls/explorerframe/tests/nstc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/explorerframe/tests/nstc.c b/dlls/explorerframe/tests/nstc.c
index 3ea408f..59654ac 100644
--- a/dlls/explorerframe/tests/nstc.c
+++ b/dlls/explorerframe/tests/nstc.c
@@ -558,7 +558,7 @@ static BOOL subclass_treeview(INameSpaceTreeControl *pnstc)
ok(oldproc != NULL, "Failed to subclass.\n");
}
- return oldproc?TRUE:FALSE;
+ return oldproc != 0;
}
static UINT get_msg_count(struct msg_sequence **seq, int sequence_index, UINT message)
More information about the wine-cvs
mailing list