aboutsummaryrefslogtreecommitdiff
path: root/engines/wage
diff options
context:
space:
mode:
authorEugene Sandulenko2017-08-02 22:40:18 +0200
committerEugene Sandulenko2017-08-04 21:54:19 +0200
commit91615eb940b766135d15f4d56519de35b5c3ce88 (patch)
tree1d36db2d471d33155f0f3740f200ea7525a91f9a /engines/wage
parentef1ea04b8c219d1c9e0245bbaac023030a2c3752 (diff)
downloadscummvm-rg350-91615eb940b766135d15f4d56519de35b5c3ce88.tar.gz
scummvm-rg350-91615eb940b766135d15f4d56519de35b5c3ce88.tar.bz2
scummvm-rg350-91615eb940b766135d15f4d56519de35b5c3ce88.zip
WAGE: Remove now redundant input processing
Diffstat (limited to 'engines/wage')
-rw-r--r--engines/wage/wage.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/engines/wage/wage.cpp b/engines/wage/wage.cpp
index e8723d153e..6d153a35f0 100644
--- a/engines/wage/wage.cpp
+++ b/engines/wage/wage.cpp
@@ -169,13 +169,6 @@ void WageEngine::processEvents() {
break;
case Common::EVENT_KEYDOWN:
switch (event.kbd.keycode) {
- case Common::KEYCODE_BACKSPACE:
- if (!_inputText.empty()) {
- _inputText.deleteLastChar();
- _gui->drawInput();
- }
- break;
-
case Common::KEYCODE_RETURN:
_inputText = _gui->_consoleWindow->getInput();
_inputText += '\n';
@@ -197,11 +190,6 @@ void WageEngine::processEvents() {
break;
}
- if (event.kbd.ascii >= 0x20 && event.kbd.ascii <= 0x7f) {
- _inputText += (char)event.kbd.ascii;
- _gui->drawInput();
- }
-
break;
}
break;