aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/scumm/string.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/string.cpp b/engines/scumm/string.cpp
index 1c23223605..39ee5b4700 100644
--- a/engines/scumm/string.cpp
+++ b/engines/scumm/string.cpp
@@ -500,10 +500,10 @@ void ScummEngine::fakeBidiString(char *ltext, bool ignoreVerb) {
memset(buff, 0, bufferSize);
memset(stack, 0, bufferSize);
+ // Reverse string on current line (between start and ipos).
int sthead = 0;
char last = '\0';
for (int j = 0; j < ipos; j++) {
- // Reverse string on current line (between start and ipos).
char *curr = text + start + ipos - j - 1;
// Special cases to preserve original ordering (numbers).
if (Common::isDigit(*curr) ||