Re-fix the credits code

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5765 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
xapantu 2010-08-23 14:16:39 +00:00
parent bc283dfab6
commit 0892f3004a

View File

@ -234,12 +234,10 @@ void CreditsScreen::loadedFromFile()
CreditsEntry entry(line);
getCurrentSection()->addEntry( entry );
for(int j = 1; i + j < translator.size() && j < 4; j ++)
for(int j = 0; i + j < translator.size() && j < 4; j ++)
{
translator[i].append('\n');
translator[i].append(translator[i+j]);
getCurrentSection()->addSubEntry(translator[i + j]);
}
getCurrentSection()->addSubEntry(translator[i]);
}
assert(m_sections.size() > 0);