mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-29 23:23:07 +00:00
- fixed: The StripRight fix left some code from a previous fix in that no longer applies.
This commit is contained in:
parent
c49573f183
commit
4898bec12d
1 changed files with 1 additions and 1 deletions
|
@ -733,7 +733,7 @@ void FString::StripRight (const char *charset)
|
|||
if (!strchr (charset, Chars[i]))
|
||||
break;
|
||||
}
|
||||
if (i == max-1)
|
||||
if (i == max)
|
||||
{ // Nothing to strip.
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue