- fixed: The on-screen keyboard did not properly delete the last character of the input string.

This commit is contained in:
Christoph Oelckers 2019-03-31 09:47:43 +02:00
parent 3fd449378c
commit 8919a991a7

View file

@ -264,7 +264,7 @@ class TextEnterMenu : Menu
case MKEY_Clear: case MKEY_Clear:
if (mEnterString.Length() > 0) if (mEnterString.Length() > 0)
{ {
mEnterString.Truncate(mEnterString.Length() - 1); mEnterString.DeleteLastCharacter();
} }
return true; return true;
@ -297,7 +297,7 @@ class TextEnterMenu : Menu
return true; return true;
default: default:
break; // Keep GCC quiet break;
} }
} }
return false; return false;