Paul Vriens : shlwapi/tests: Fix some typos.

Alexandre Julliard julliard at winehq.org
Wed Mar 4 09:00:49 CST 2009


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

Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date:   Tue Mar  3 21:42:32 2009 +0100

shlwapi/tests: Fix some typos.

---

 dlls/shlwapi/tests/path.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/shlwapi/tests/path.c b/dlls/shlwapi/tests/path.c
index 89a61c3..52eee2d 100644
--- a/dlls/shlwapi/tests/path.c
+++ b/dlls/shlwapi/tests/path.c
@@ -393,10 +393,10 @@ static void test_PathCombineW(void)
     wszString2[0] = 'a';
     wszString = pPathCombineW(wszString2, NULL, NULL);
     ok (wszString == NULL ||
-        broken(wszString[0] = 'a'), /* Win95 and some W2K */
+        broken(wszString[0] == 'a'), /* Win95 and some W2K */
         "Expected a NULL return\n");
     ok (wszString2[0] == 0 ||
-        broken(wszString2[0] = 'a'), /* Win95 and some W2K */
+        broken(wszString2[0] == 'a'), /* Win95 and some W2K */
         "Destination string not empty\n");
 
     HeapFree(GetProcessHeap(), 0, wszString2);
@@ -411,7 +411,7 @@ static void test_PathCombineW(void)
     wszString = pPathCombineW(wbuf, wstr1, wstr2);
     ok(wszString == NULL, "Expected a NULL return\n");
     ok(wbuf[0] == 0 ||
-       broken(wbuf[0] = 0xbfbf), /* Win95 and some W2K */
+       broken(wbuf[0] == 0xbfbf), /* Win95 and some W2K */
        "Buffer contains data\n");
 
     /* PathCombineW can be used in place */




More information about the wine-cvs mailing list