mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 12:23:31 +00:00
Arch, please do not mix up ANSI vs. UNICODE string functions, do you?
svn path=/trunk/; revision=63135
This commit is contained in:
@@ -1303,13 +1303,13 @@ void shell(int argc, const char *argv[])
|
||||
|
||||
if (argc > 1)
|
||||
{
|
||||
strncat(CmdLine, " /C", MAX_PATH - wcslen(Cmdline) - 1);
|
||||
strncat(CmdLine, " /C", MAX_PATH - strlen(Cmdline) - 1);
|
||||
}
|
||||
|
||||
for (i=1; i<argc; i++)
|
||||
{
|
||||
strncat(CmdLine, " ", MAX_PATH - wsclen(Cmdline) - 1);
|
||||
strncat(CmdLine, argv[i], MAX_PATH - wsclen(Cmdline) -1);
|
||||
strncat(CmdLine, " ", MAX_PATH - strlen(Cmdline) - 1);
|
||||
strncat(CmdLine, argv[i], MAX_PATH - strlen(Cmdline) -1);
|
||||
}
|
||||
|
||||
StartupInfo.cb = sizeof( StartupInfo );
|
||||
|
||||
Reference in New Issue
Block a user