AVALANCHE: Repair Avalot::handleKeyDown().

This commit is contained in:
uruk 2013-07-27 17:00:02 +02:00
parent 541f5f9c3b
commit 0703085d20

View File

@ -173,8 +173,7 @@ void Avalot::handleKeyDown(const Common::Event &event) {
break;
}
if (((32 <= event.kbd.ascii) && (event.kbd.ascii <= 46)) || ((48 <= event.kbd.ascii) && (event.kbd.ascii <= 223))
|| ((225 <= event.kbd.ascii) && (event.kbd.ascii <= 255))) {
if ((32 <= event.kbd.ascii) && (event.kbd.ascii <= 128) && (event.kbd.ascii != 47)) {
byte inChar = event.kbd.ascii;
if (_vm->_dropdown->ddm_o.menunow) {
_vm->_dropdown->parsekey(inChar, _vm->_enhanced->extd);