From 0703085d20330624a741c52583b4bbc9ed252498 Mon Sep 17 00:00:00 2001 From: uruk Date: Sat, 27 Jul 2013 17:00:02 +0200 Subject: [PATCH] AVALANCHE: Repair Avalot::handleKeyDown(). --- engines/avalanche/avalot.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/engines/avalanche/avalot.cpp b/engines/avalanche/avalot.cpp index ef0de656356..d7dcff9677b 100644 --- a/engines/avalanche/avalot.cpp +++ b/engines/avalanche/avalot.cpp @@ -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);