diff options
author | Paul Gilbert | 2017-08-22 20:07:50 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-08-22 20:07:50 -0400 |
commit | aad739120b96826ebe69e58fb6f2a4fb2bb8d966 (patch) | |
tree | 8db250afef7ed784384e44be5858708921e9ac1b /engines/titanic | |
parent | ceb329ad0e913288309aef1cfe9696bce4f93e7e (diff) | |
download | scummvm-rg350-aad739120b96826ebe69e58fb6f2a4fb2bb8d966.tar.gz scummvm-rg350-aad739120b96826ebe69e58fb6f2a4fb2bb8d966.tar.bz2 scummvm-rg350-aad739120b96826ebe69e58fb6f2a4fb2bb8d966.zip |
TITANIC: Fix using Fn keys when Conversations tab is active
Diffstat (limited to 'engines/titanic')
-rw-r--r-- | engines/titanic/pet_control/pet_conversations.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/titanic/pet_control/pet_conversations.cpp b/engines/titanic/pet_control/pet_conversations.cpp index c228c30fa5..37ff3d8e9f 100644 --- a/engines/titanic/pet_control/pet_conversations.cpp +++ b/engines/titanic/pet_control/pet_conversations.cpp @@ -478,7 +478,8 @@ bool CPetConversations::handleKey(const Common::KeyState &keyState) { scrollToBottom(); return true; default: - if (keyState.ascii <= 127 && keyState.ascii != Common::KEYCODE_TAB) { + if (keyState.ascii > 0 && keyState.ascii <= 127 + && keyState.ascii != Common::KEYCODE_TAB) { if (_textInput.handleKey(keyState.ascii)) // Text line finished, so process line textLineEntered(_textInput.getText()); |