diff options
-rw-r--r-- | engines/touche/touche.cpp | 2 |
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; } |