mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-12 23:54:17 +00:00
fix CheckParmList
seems like it was checking the second char for '+' instead of the first
This commit is contained in:
parent
c3ac4c9c38
commit
1006d20c13
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ int FArgs::CheckParmList(const char *check, FString **strings, int start) const
|
|||
}
|
||||
for (i = ++parmat; i < Argv.Size(); ++i)
|
||||
{
|
||||
if (Argv[i][0] == '-' || Argv[i][1] == '+')
|
||||
if (Argv[i][0] == '-' || Argv[i][0] == '+')
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue