... and also, please open your eyes (upper vs. lowercase letters).

svn path=/trunk/; revision=63136
This commit is contained in:
Hermès Bélusca-Maïto 2014-05-03 17:25:52 +00:00
parent cbb1745661
commit 89edba0174

View file

@ -1303,13 +1303,13 @@ void shell(int argc, const char *argv[])
if (argc > 1)
{
strncat(CmdLine, " /C", MAX_PATH - strlen(Cmdline) - 1);
strncat(CmdLine, " /C", MAX_PATH - strlen(CmdLine) - 1);
}
for (i=1; i<argc; i++)
{
strncat(CmdLine, " ", MAX_PATH - strlen(Cmdline) - 1);
strncat(CmdLine, argv[i], MAX_PATH - strlen(Cmdline) -1);
strncat(CmdLine, " ", MAX_PATH - strlen(CmdLine) - 1);
strncat(CmdLine, argv[i], MAX_PATH - strlen(CmdLine) -1);
}
StartupInfo.cb = sizeof( StartupInfo );