mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 06:53:58 +00:00
- fixed: The on-screen keyboard did not properly delete the last character of the input string.
This commit is contained in:
parent
3fd449378c
commit
8919a991a7
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue