Fixed small mistake in string handling in my last commit.
authorJens Collin <jens.collin@lakhei.com>
Mon, 13 Sep 2004 18:04:09 +0000 (18:04 +0000)
committerJens Collin <jens.collin@lakhei.com>
Mon, 13 Sep 2004 18:04:09 +0000 (18:04 +0000)
svn path=/trunk/; revision=10846

reactos/lib/shell32/shlexec.c

index 0f0ad1f..b265e7d 100644 (file)
@@ -91,7 +91,7 @@ static BOOL SHELL_ArgifyW(WCHAR* out, int len, const WCHAR* fmt, const WCHAR* lp
     WCHAR   tmpEnvBuff[MAX_PATH];
     WCHAR*  tmpE = tmpEnvBuff;
     DWORD   envRet;
-    static const WCHAR wszSPerc[] = {'%','s','%','%',0};
+    static const WCHAR wszSPerc[] = {'%','s',0};
     static const WCHAR wszPerc[] = {'%',0};
 
     TRACE("%p, %d, %s, %s, %p, %p\n", out, len, debugstr_w(fmt),