Whoops.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3570 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
449e38c590
commit
29ce27e35c
1 changed files with 3 additions and 3 deletions
|
@ -1556,19 +1556,19 @@ int __cdecl main(void)
|
||||||
char *cmdline;
|
char *cmdline;
|
||||||
FreeConsole();
|
FreeConsole();
|
||||||
cmdline = GetCommandLine();
|
cmdline = GetCommandLine();
|
||||||
while (*cmdline && cmdline == ' ')
|
while (*cmdline && *cmdline == ' ')
|
||||||
cmdline++;
|
cmdline++;
|
||||||
if (*cmdline == '\"')
|
if (*cmdline == '\"')
|
||||||
{
|
{
|
||||||
cmdline++;
|
cmdline++;
|
||||||
while (*cmdline && cmdline != '\"')
|
while (*cmdline && *cmdline != '\"')
|
||||||
cmdline++;
|
cmdline++;
|
||||||
if (*cmdline == '\"')
|
if (*cmdline == '\"')
|
||||||
cmdline++;
|
cmdline++;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
while (*cmdline && cmdline != ' ')
|
while (*cmdline && *cmdline != ' ')
|
||||||
cmdline++;
|
cmdline++;
|
||||||
}
|
}
|
||||||
return WinMain(GetModuleHandle(NULL), NULL, cmdline, SW_NORMAL);
|
return WinMain(GetModuleHandle(NULL), NULL, cmdline, SW_NORMAL);
|
||||||
|
|
Loading…
Reference in a new issue