[ros-diffs] [cwittich] 31808: don't use double '%' in the string

cwittich at svn.reactos.org cwittich at svn.reactos.org
Tue Jan 15 15:13:42 CET 2008


Author: cwittich
Date: Tue Jan 15 17:13:40 2008
New Revision: 31808

URL: http://svn.reactos.org/svn/reactos?rev=31808&view=rev
Log:
don't use double '%' in the string

Modified:
    trunk/reactos/dll/win32/setupapi/install.c

Modified: trunk/reactos/dll/win32/setupapi/install.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/setupapi/install.c?rev=31808&r1=31807&r2=31808&view=diff
==============================================================================
--- trunk/reactos/dll/win32/setupapi/install.c (original)
+++ trunk/reactos/dll/win32/setupapi/install.c Tue Jan 15 17:13:40 2008
@@ -1654,7 +1654,7 @@
                wcslen(L"%SystemRoot%\\") = 13*sizeof(wchar_t) */
             Buffer = MyMalloc(Win32Length);
 
-            wcscpy(Buffer, L"%%SystemRoot%%\\");
+            wcscpy(Buffer, L"%SystemRoot%\\");
             wcscat(Buffer, *ServiceBinary);
             MyFree(*ServiceBinary);
 




More information about the Ros-diffs mailing list