fix CheckParmList

seems like it was checking the second char for '+' instead of the first
This commit is contained in:
Ricardo Luís Vaz Silva 2024-04-21 12:25:14 -03:00 committed by Rachael Alexanderson
parent c3ac4c9c38
commit 1006d20c13

View file

@ -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;
}