[Scummvm-cvs-logs] scummvm master -> 7e9b0114d8edd4de3869b259d2ce7a358285453d
fuzzie
fuzzie at fuzzie.org
Thu Feb 2 12:41:48 CET 2012
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:
7e9b0114d8 HUGO: Fix keyHandler (noticed by Strangerke).
Commit: 7e9b0114d8edd4de3869b259d2ce7a358285453d
https://github.com/scummvm/scummvm/commit/7e9b0114d8edd4de3869b259d2ce7a358285453d
Author: Alyssa Milburn (fuzzie at fuzzie.org)
Date: 2012-02-02T03:40:25-08:00
Commit Message:
HUGO: Fix keyHandler (noticed by Strangerke).
Changed paths:
engines/hugo/parser.cpp
diff --git a/engines/hugo/parser.cpp b/engines/hugo/parser.cpp
index a0ad4c0..4eaed6f 100644
--- a/engines/hugo/parser.cpp
+++ b/engines/hugo/parser.cpp
@@ -271,7 +271,7 @@ void Parser::keyHandler(Common::Event event) {
status_t &gameStatus = _vm->getGameStatus();
uint16 nChar = event.kbd.keycode;
- if ((event.kbd.hasFlags(Common::KBD_ALT)) || (event.kbd.hasFlags(Common::KBD_SCRL)))
+ if (event.kbd.flags & (Common::KBD_ALT | Common::KBD_SCRL))
return;
if (event.kbd.hasFlags(Common::KBD_CTRL)) {
More information about the Scummvm-git-logs
mailing list