mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-23 20:32:51 +00:00
- fixed: The StripRight fix left some code from a previous fix in that no longer applies.
This commit is contained in:
parent
80effbb547
commit
2d2963ead4
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