SHERLOCK: SS: make journal hotkeys multilingual

This commit is contained in:
Martin Kiewitz 2016-01-30 17:21:51 +01:00
parent 9257597160
commit 9a91ed930d
4 changed files with 156 additions and 131 deletions

View file

@ -1768,7 +1768,7 @@ void ScalpelUserInterface::journalControl() {
if (keyState.keycode == Common::KEYCODE_x && (keyState.flags & Common::KBD_ALT)) {
_vm->quitGame();
return;
} else if (keyState.keycode == Common::KEYCODE_e || keyState.keycode == Common::KEYCODE_ESCAPE) {
} else if (toupper(keyState.ascii) == journal._hotkeyExit || keyState.keycode == Common::KEYCODE_ESCAPE) {
doneFlag = true;
} else {
_key = toupper(keyState.keycode);