mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +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