[PATCH] shell32/tests: Fix a typo.

Sven Baars sven.wine at gmail.com
Sat Jan 12 14:38:41 CST 2019


Signed-off-by: Sven Baars <sven.wine at gmail.com>
---
Noticed this while fixing the SHGetKnownFolderPath implementation. Will send
a patch for that after the code freeze.

 dlls/shell32/tests/shellpath.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/shell32/tests/shellpath.c b/dlls/shell32/tests/shellpath.c
index bac64e57a7..38b56f01d3 100644
--- a/dlls/shell32/tests/shellpath.c
+++ b/dlls/shell32/tests/shellpath.c
@@ -1882,7 +1882,7 @@ if (0) { /* crashes */
         path2 = NULL;
         hr = pSHGetKnownFolderPath(folder_id, KF_FLAG_SIMPLE_IDLIST, NULL, &path2);
         ok(hr == S_OK, "expected S_OK, got 0x%08x\n", hr);
-        ok(path != NULL, "expected path != NULL\n");
+        ok(path2 != NULL, "expected path != NULL\n");
         ok(!lstrcmpiW(path, path2), "expected equal paths: %s, %s\n", wine_dbgstr_w(path), wine_dbgstr_w(path2));
         CoTaskMemFree(path2);
 
-- 
2.17.1




More information about the wine-devel mailing list