[Scummvm-git-logs] scummvm master -> 05ea21c94d8d15848fc363643c5a42de3503eb8f
dreammaster
dreammaster at scummvm.org
Tue Apr 13 04:04:14 UTC 2021
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:
05ea21c94d AGS: Keypress fixes for non-alphanumeric characters
Commit: 05ea21c94d8d15848fc363643c5a42de3503eb8f
https://github.com/scummvm/scummvm/commit/05ea21c94d8d15848fc363643c5a42de3503eb8f
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2021-04-12T21:04:04-07:00
Commit Message:
AGS: Keypress fixes for non-alphanumeric characters
Changed paths:
engines/ags/events.cpp
diff --git a/engines/ags/events.cpp b/engines/ags/events.cpp
index 673e189925..521ffef864 100644
--- a/engines/ags/events.cpp
+++ b/engines/ags/events.cpp
@@ -87,7 +87,7 @@ int EventsManager::readKey() {
if (isExtendedKey(keyState.keycode))
code |= EXTENDED_KEY_CODE;
- else if (keyState.flags == 0)
+ else if ((keyState.flags & (Common::KBD_CTRL | Common::KBD_ALT)) == 0)
code |= keyState.ascii;
else
code |= scancode;
More information about the Scummvm-git-logs
mailing list