mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-01 16:35:20 +00:00
SCI: Ctrl-Z now supported as well :D
svn-id: r47188
This commit is contained in:
parent
229c53d485
commit
41eaeaa61d
@ -362,7 +362,7 @@ sciEvent SciEvent::get(unsigned int mask) {
|
||||
// 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 @@ sciEvent SciEvent::get(unsigned int mask) {
|
||||
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'
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user