fix enum strings

This commit is contained in:
Chris Danford
2005-02-14 17:50:53 +00:00
parent db9cd87c34
commit f747571c29
+3 -3
View File
@@ -11,8 +11,8 @@ XToString( SelectType );
StringToX( SelectType );
static const CString LayoutTypeNames[NUM_LAYOUT_TYPES] = {
"ShowAllInLine",
"ShowOneLine",
"ShowAllInRow",
"ShowOneInRow",
};
XToString( LayoutType );
StringToX( LayoutType );
@@ -34,7 +34,7 @@ OptionRow::~OptionRow()
int OptionRow::GetOneSelection( PlayerNumber pn, bool bAllowFail ) const
{
for( unsigned i=0; i<(unsigned)m_vbSelected[pn].size(); i++ )
for( unsigned i=0; i<m_vbSelected[pn].size(); i++ )
if( m_vbSelected[pn][i] )
return i;