- 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 80effbb547
commit 2d2963ead4

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