[Scummvm-cvs-logs] SF.net SVN: scummvm:[47188] scummvm/trunk/engines/sci/event.cpp
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Sat Jan 9 00:09:30 CET 2010
Revision: 47188
http://scummvm.svn.sourceforge.net/scummvm/?rev=47188&view=rev
Author: m_kiewitz
Date: 2010-01-08 23:09:30 +0000 (Fri, 08 Jan 2010)
Log Message:
-----------
SCI: Ctrl-Z now supported as well :D
Modified Paths:
--------------
scummvm/trunk/engines/sci/event.cpp
Modified: scummvm/trunk/engines/sci/event.cpp
===================================================================
--- scummvm/trunk/engines/sci/event.cpp 2010-01-08 23:05:00 UTC (rev 47187)
+++ scummvm/trunk/engines/sci/event.cpp 2010-01-08 23:09:30 UTC (rev 47188)
@@ -362,7 +362,7 @@
// us the actual key. My opinion is that windows is right, because under DOS the keys worked the same, anyway
// we support the other case as well
if (event.modifiers & SCI_KEYMOD_ALT) {
- if (event.character < 26)
+ if (event.character < 27)
event.character += 96; // 0x01 -> 'a'
}
@@ -372,7 +372,7 @@
if (event.modifiers & SCI_KEYMOD_ALT) {
event.character = altify(event.character);
} else if (event.modifiers & SCI_KEYMOD_CTRL) {
- if (event.character < 26)
+ if (event.character < 27)
event.character += 96; // 0x01 -> 'a'
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list