aboutsummaryrefslogtreecommitdiff
path: root/engines/wage/menu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wage/menu.cpp')
-rw-r--r--engines/wage/menu.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/wage/menu.cpp b/engines/wage/menu.cpp
index 5fc51bcf8f..a814934a23 100644
--- a/engines/wage/menu.cpp
+++ b/engines/wage/menu.cpp
@@ -552,10 +552,12 @@ void Menu::executeCommand(MenuSubItem *subitem) {
}
void Menu::processMenuShortCut(byte flags, uint16 ascii) {
+ ascii = tolower(ascii);
+
if (flags & (Common::KBD_CTRL | Common::KBD_META)) {
for (int i = 0; i < _items.size(); i++)
for (int j = 0; j < _items[i]->subitems.size(); j++)
- if (_items[i]->subitems[j]->shortcut == ascii) {
+ if (tolower(_items[i]->subitems[j]->shortcut) == ascii) {
if (_items[i]->subitems[j]->action == kMenuActionCommand)
_gui->_engine->processTurn(&_items[i]->subitems[j]->text, NULL);
else