[Scummvm-git-logs] scummvm master -> aad739120b96826ebe69e58fb6f2a4fb2bb8d966

dreammaster dreammaster at scummvm.org
Wed Aug 23 02:08:01 CEST 2017


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
aad739120b TITANIC: Fix using Fn keys when Conversations tab is active


Commit: aad739120b96826ebe69e58fb6f2a4fb2bb8d966
    https://github.com/scummvm/scummvm/commit/aad739120b96826ebe69e58fb6f2a4fb2bb8d966
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-08-22T20:07:50-04:00

Commit Message:
TITANIC: Fix using Fn keys when Conversations tab is active

Changed paths:
    engines/titanic/pet_control/pet_conversations.cpp


diff --git a/engines/titanic/pet_control/pet_conversations.cpp b/engines/titanic/pet_control/pet_conversations.cpp
index c228c30..37ff3d8 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());





More information about the Scummvm-git-logs mailing list