[Scummvm-cvs-logs] SF.net SVN: scummvm:[47143] scummvm/trunk/engines/sci/graphics/menu.cpp
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Fri Jan 8 00:32:46 CET 2010
Revision: 47143
http://scummvm.svn.sourceforge.net/scummvm/?rev=47143&view=rev
Author: m_kiewitz
Date: 2010-01-07 23:32:45 +0000 (Thu, 07 Jan 2010)
Log Message:
-----------
SCI: remove displaying tag in menu of some games (e.g. qfg1ega)
Modified Paths:
--------------
scummvm/trunk/engines/sci/graphics/menu.cpp
Modified: scummvm/trunk/engines/sci/graphics/menu.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/menu.cpp 2010-01-07 20:41:52 UTC (rev 47142)
+++ scummvm/trunk/engines/sci/graphics/menu.cpp 2010-01-07 23:32:45 UTC (rev 47143)
@@ -187,10 +187,10 @@
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);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list