aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gui/gui_menu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/gui/gui_menu.cpp')
-rw-r--r--engines/sci/gui/gui_menu.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/sci/gui/gui_menu.cpp b/engines/sci/gui/gui_menu.cpp
index 55688ab473..106922603c 100644
--- a/engines/sci/gui/gui_menu.cpp
+++ b/engines/sci/gui/gui_menu.cpp
@@ -191,9 +191,10 @@ void SciGuiMenu::add(Common::String title, Common::String content, reg_t content
if (rightAlignedPos) {
rightAlignedPos++;
tempPos = endPos;
- //if (tagPos)
- if (tagPos && tagPos >= rightAlignedPos) // FIXME: sanity check for LB1 and KQ4
- tempPos = tagPos;
+ // Shouldnt be needed at all, cause right aligned occurs after tag (hopefully)
+ // If no game is found that causes problems, remove this line (29.11.2009)
+ //if (tagPos && tagPos >= rightAlignedPos)
+ // tempPos = tagPos;
itemEntry->textRightAligned = Common::String(content.c_str() + rightAlignedPos, tempPos - rightAlignedPos);
}