This commit is contained in:
Glenn Maynard
2006-02-03 06:07:57 +00:00
parent 48a691534d
commit e4c6fbafff
+5 -2
View File
@@ -1184,7 +1184,10 @@ void ScreenOptions::AfterChangeRow( PlayerNumber pn )
// //
// In FIVE_KEY, keep the selection in the row near the focus. // In FIVE_KEY, keep the selection in the row near the focus.
// //
OptionRow &row = *m_pRows[r]; const int iRow = m_iCurrentRow[pn];
if( iRow != -1 )
{
OptionRow &row = *m_pRows[iRow];
switch( m_OptionsNavigation ) switch( m_OptionsNavigation )
{ {
case NAV_TOGGLE_FIVE_KEY: case NAV_TOGGLE_FIVE_KEY:
@@ -1205,7 +1208,7 @@ void ScreenOptions::AfterChangeRow( PlayerNumber pn )
} }
break; break;
} }
}
AfterChangeValueOrRow( pn ); AfterChangeValueOrRow( pn );
} }