From 2aca490e131bad1a2b199d3077f5c2f8ab8c58a8 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Thu, 7 Jan 2010 23:32:45 +0000 Subject: SCI: remove displaying tag in menu of some games (e.g. qfg1ega) svn-id: r47143 --- engines/sci/graphics/menu.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/sci') diff --git a/engines/sci/graphics/menu.cpp b/engines/sci/graphics/menu.cpp index 219e5018f5..20252db133 100644 --- a/engines/sci/graphics/menu.cpp +++ b/engines/sci/graphics/menu.cpp @@ -187,10 +187,10 @@ void Menu::add(Common::String title, Common::String content, reg_t contentVmPtr) if (rightAlignedPos) { rightAlignedPos++; tempPos = endPos; - // 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; + // some games have tagPos in front of right rightAlignedPos + // some have it the other way... (qfg1ega) + if (tagPos && tagPos >= rightAlignedPos) + tempPos = tagPos; itemEntry->textRightAligned = Common::String(content.c_str() + rightAlignedPos, tempPos - rightAlignedPos); } -- cgit v1.2.3