Skip to content

Commit

Permalink
fix CheckParmList
Browse files Browse the repository at this point in the history
seems like it was checking the second char for '+' instead of the first
  • Loading branch information
RicardoLuis0 authored and madame-rachelle committed May 4, 2024
1 parent c3ac4c9 commit 1006d20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/utility/m_argv.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit 1006d20

Please sign in to comment.