Add bash-style console shortcuts

This commit is contained in:
Matthew McAllister 2017-02-19 06:08:50 -08:00 committed by Christoph Oelckers
commit 0583691670
3 changed files with 157 additions and 5 deletions

View file

@ -393,7 +393,6 @@ void FString::Remove(size_t index, size_t remlen)
}
else
{
remlen = Len() - remlen < remlen ? Len() - remlen : remlen;
if (Data()->RefCount == 1)
{ // Can do this in place
memmove(Chars + index, Chars + index + remlen, Len() - index - remlen);