fix iSelection

This commit is contained in:
Glenn Maynard
2006-01-18 23:41:24 +00:00
parent 127059874e
commit c780377085
+1 -1
View File
@@ -474,7 +474,7 @@ void OptionRow::AfterImportOptions()
case SELECT_ONE: case SELECT_ONE:
{ {
/* Make sure the row actually has a selection. */ /* Make sure the row actually has a selection. */
int iSelection = GetOneSelection(p, true) != -1; int iSelection = GetOneSelection(p, true);
if( iSelection == -1 ) if( iSelection == -1 )
{ {
ASSERT( !m_vbSelected[p].empty() ); ASSERT( !m_vbSelected[p].empty() );