simplify: "more" makes as much sense when the last entry isn't "exit"

This commit is contained in:
Glenn Maynard
2006-01-14 08:03:46 +00:00
parent 04ec901671
commit b4691c560f
+2 -2
View File
@@ -780,8 +780,8 @@ void ScreenOptions::AfterChangeValueOrRow( PlayerNumber pn )
}
/* If the last row is EXIT, and is hidden, then show MORE. */
const bool bShowMore = m_pRows.back()->GetRowType() == OptionRow::RowType_Exit && m_pRows.back()->GetRowHidden();
/* If the last row is hidden, show MORE. */
const bool bShowMore = m_pRows.back()->GetRowHidden();
if( m_bMoreShown != bShowMore )
{
m_bMoreShown = bShowMore;