aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/gui/gui_menu.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/gui/gui_menu.cpp b/engines/sci/gui/gui_menu.cpp
index 2406e0ef19..55688ab473 100644
--- a/engines/sci/gui/gui_menu.cpp
+++ b/engines/sci/gui/gui_menu.cpp
@@ -191,7 +191,8 @@ void SciGuiMenu::add(Common::String title, Common::String content, reg_t content
if (rightAlignedPos) {
rightAlignedPos++;
tempPos = endPos;
- if (tagPos)
+ //if (tagPos)
+ if (tagPos && tagPos >= rightAlignedPos) // FIXME: sanity check for LB1 and KQ4
tempPos = tagPos;
itemEntry->textRightAligned = Common::String(content.c_str() + rightAlignedPos, tempPos - rightAlignedPos);
}