- fixed: The StripRight fix left some code from a previous fix in that no longer applies.

This commit is contained in:
Christoph Oelckers 2017-01-01 16:55:45 +01:00
parent c49573f183
commit 4898bec12d

View file

@ -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;
}