Paul Vriens : kernel32/tests: Test for functions should be or-ed.

Alexandre Julliard julliard at winehq.org
Thu Dec 6 08:26:43 CST 2007


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

Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date:   Wed Dec  5 14:22:05 2007 +0100

kernel32/tests: Test for functions should be or-ed.

---

 dlls/kernel32/tests/console.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/kernel32/tests/console.c b/dlls/kernel32/tests/console.c
index d3605aa..6204fa5 100644
--- a/dlls/kernel32/tests/console.c
+++ b/dlls/kernel32/tests/console.c
@@ -851,7 +851,7 @@ START_TEST(console)
     testCtrlHandler();
     /* still to be done: access rights & access on objects */
 
-    if (!pGetConsoleInputExeNameA && !pSetConsoleInputExeNameA)
+    if (!pGetConsoleInputExeNameA || !pSetConsoleInputExeNameA)
     {
         skip("GetConsoleInputExeNameA and/or SetConsoleInputExeNameA is not available\n");
         return;




More information about the wine-cvs mailing list