underlines and icons are unrelated; reorder

This commit is contained in:
Glenn Maynard
2006-02-27 00:51:11 +00:00
parent bb1f0be90c
commit 25c9e31218
+1 -1
View File
@@ -690,10 +690,10 @@ void ScreenOptions::AfterChangeValueOrRow( PlayerNumber pn )
PositionRows( true ); PositionRows( true );
/* Do positioning. */ /* Do positioning. */
RefreshIcons( iCurRow, pn );
for( unsigned r=0; r<m_pRows.size(); r++ ) for( unsigned r=0; r<m_pRows.size(); r++ )
FOREACH_HumanPlayer( p ) FOREACH_HumanPlayer( p )
m_pRows[r]->PositionUnderlines( p ); m_pRows[r]->PositionUnderlines( p );
RefreshIcons( iCurRow, pn );
for( unsigned r=0; r<m_pRows.size(); r++ ) // foreach options line for( unsigned r=0; r<m_pRows.size(); r++ ) // foreach options line
{ {
m_pRows[r]->PositionIcons( pn ); m_pRows[r]->PositionIcons( pn );