don't use double '%' in the string

svn path=/trunk/; revision=31808
This commit is contained in:
Christoph von Wittich
2008-01-15 14:13:40 +00:00
parent 8f5ee036a8
commit 909e8a4ef0
+1 -1
View File
@@ -1654,7 +1654,7 @@ static VOID FixupServiceBinaryPath(
wcslen(L"%SystemRoot%\\") = 13*sizeof(wchar_t) */
Buffer = MyMalloc(Win32Length);
wcscpy(Buffer, L"%%SystemRoot%%\\");
wcscpy(Buffer, L"%SystemRoot%\\");
wcscat(Buffer, *ServiceBinary);
MyFree(*ServiceBinary);