Bugfix: out of bounds problem avoided.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1318 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2007-12-05 04:12:55 +00:00
parent 1d0c75542a
commit 3bac108b3a

View File

@ -630,8 +630,8 @@ int WidgetManager::calc_line_height( const int START_ELEM ) const
while( i < NUM_ELEMS )
{
++i;
if( m_elems[i].type == ET_BREAK ) break;
++i;
}
}
}