blank Exit title in metrics, not with a special case

This commit is contained in:
Glenn Maynard
2006-01-14 19:01:23 +00:00
parent b4e0f5f81a
commit 8bdd24cb8a
2 changed files with 5 additions and 6 deletions
+4 -5
View File
@@ -396,18 +396,17 @@ void OptionRow::InitText()
m_Frame.AddChild( m_Underline[p][c] );
m_Frame.SortByDrawOrder();
m_textTitle->SetText( GetRowTitle() );
m_textTitle->SetX( m_pParentType->TITLE_X );
m_textTitle->RunCommands( m_pParentType->TITLE_ON_COMMAND );
switch( GetRowType() )
{
case OptionRow::RowType_Normal:
m_textTitle->SetText( GetRowTitle() );
m_textTitle->SetX( m_pParentType->TITLE_X );
m_textTitle->RunCommands( m_pParentType->TITLE_ON_COMMAND );
m_sprBullet->SetX( m_pParentType->BULLET_X );
m_sprBullet->RunCommands( m_pParentType->BULLET_ON_COMMAND );
break;
case OptionRow::RowType_Exit:
m_textTitle->SetHidden( true );
m_sprBullet->SetHidden( true );
break;
}