aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorGregory Montoir2008-12-13 19:38:48 +0000
committerGregory Montoir2008-12-13 19:38:48 +0000
commite3e699d7d2267cbe1e8fe54123e18474f1db4319 (patch)
tree9edd6830f0169065ece7f7aef93787cee37d28f0 /engines
parent13e613ae217179dcc98ea3f966276a5175c844cf (diff)
downloadscummvm-rg350-e3e699d7d2267cbe1e8fe54123e18474f1db4319.tar.gz
scummvm-rg350-e3e699d7d2267cbe1e8fe54123e18474f1db4319.tar.bz2
scummvm-rg350-e3e699d7d2267cbe1e8fe54123e18474f1db4319.zip
fixed wrong z-reordering when one of the keychars is 0
svn-id: r35345
Diffstat (limited to 'engines')
-rw-r--r--engines/touche/touche.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/touche/touche.cpp b/engines/touche/touche.cpp
index 22c155d767..2c740e72dc 100644
--- a/engines/touche/touche.cpp
+++ b/engines/touche/touche.cpp
@@ -527,7 +527,7 @@ void ToucheEngine::sortKeyChars() {
SWAP(_sortedKeyCharsTable[j], _sortedKeyCharsTable[j + 1]);
hasSwapped = true;
}
- } else if (key1->num != 0) {
+ } else if (key2->num != 0) {
SWAP(_sortedKeyCharsTable[j], _sortedKeyCharsTable[j + 1]);
hasSwapped = true;
}