mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
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;
|
||||
FreeConsole();
|
||||
cmdline = GetCommandLine();
|
||||
while (*cmdline && cmdline == ' ')
|
||||
while (*cmdline && *cmdline == ' ')
|
||||
cmdline++;
|
||||
if (*cmdline == '\"')
|
||||
{
|
||||
cmdline++;
|
||||
while (*cmdline && cmdline != '\"')
|
||||
while (*cmdline && *cmdline != '\"')
|
||||
cmdline++;
|
||||
if (*cmdline == '\"')
|
||||
cmdline++;
|
||||
}
|
||||
else
|
||||
{
|
||||
while (*cmdline && cmdline != ' ')
|
||||
while (*cmdline && *cmdline != ' ')
|
||||
cmdline++;
|
||||
}
|
||||
return WinMain(GetModuleHandle(NULL), NULL, cmdline, SW_NORMAL);
|
||||
|
|
Loading…
Reference in a new issue