=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: shell32/tests: Fix typos.

Alexandre Julliard julliard at winehq.org
Fri Sep 23 10:56:50 CDT 2011


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

Author: André Hentschel <nerv at dawncrow.de>
Date:   Thu Sep 22 22:35:32 2011 +0200

shell32/tests: Fix typos.

---

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




More information about the wine-cvs mailing list