aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/graphics/menu.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/graphics/menu.cpp b/engines/sci/graphics/menu.cpp
index a4994ea443..48ff2d5cce 100644
--- a/engines/sci/graphics/menu.cpp
+++ b/engines/sci/graphics/menu.cpp
@@ -187,7 +187,8 @@ void GfxMenu::kernelAddEntry(Common::String title, Common::String content, reg_t
break;
case '%':
// Some multilingual sci01 games use e.g. '--!%G--!' (which doesn't really make sense)
- tempPos = curPos;
+ separatorCount += 2;
+ curPos++;
}
curPos++;
}