explorerframe/tests: Avoid a TRUE:FALSE conditional expression.

Michael Stefaniuc mstefani at redhat.de
Tue Aug 14 16:04:59 CDT 2012


---
 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)
-- 
1.7.7.6



More information about the wine-patches mailing list