mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-24 04:41:53 +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]))
|
if (!strchr (charset, Chars[i]))
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (i == max-1)
|
if (i == max)
|
||||||
{ // Nothing to strip.
|
{ // Nothing to strip.
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue