shell32: Fix typos

André Hentschel nerv at dawncrow.de
Thu Sep 22 15:35:32 CDT 2011


---
 dlls/shell32/tests/shlexec.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/shell32/tests/shlexec.c b/dlls/shell32/tests/shlexec.c
index bae0c21..9c0bc58 100644
--- a/dlls/shell32/tests/shlexec.c
+++ b/dlls/shell32/tests/shlexec.c
@@ -2220,10 +2220,10 @@ static void test_directory(void)
     /* copy this executable to a new folder and cd to it */
     sprintf(newdir, "%s\\newfolder", tmpdir);
     rc = CreateDirectoryA( newdir, NULL );
-    ok( rc, "failed to create %s err %u\n", path, GetLastError() );
+    ok( rc, "failed to create %s err %u\n", newdir, GetLastError() );
     sprintf(path, "%s\\%s", newdir, path_find_file_name(argv0));
     CopyFileA(argv0, path, FALSE);
-    SetCurrentDirectory(tmpdir),
+    SetCurrentDirectory(tmpdir);
 
     sprintf(params, "shlexec \"%s\" Exec", child_file);
 
-- 
1.7.4.1




More information about the wine-patches mailing list