From 8eff6bb0c2ceb391c7f3e6bd1aef0d4d50591716 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 14 Jan 2006 18:52:54 +0000 Subject: [PATCH] clarify --- stepmania/src/ScreenOptions.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/stepmania/src/ScreenOptions.cpp b/stepmania/src/ScreenOptions.cpp index d624f9198e..f980ca41b8 100644 --- a/stepmania/src/ScreenOptions.cpp +++ b/stepmania/src/ScreenOptions.cpp @@ -649,11 +649,11 @@ void ScreenOptions::PositionRows() int P2Choice = GAMESTATE->IsHumanPlayer(PLAYER_2)? m_iCurrentRow[PLAYER_2]: m_iCurrentRow[PLAYER_1]; vector Rows( m_pRows ); - OptionRow *ExitRow = NULL; + OptionRow *pSeparateExitRow = NULL; if( (bool)SEPARATE_EXIT_ROW && !Rows.empty() && Rows.back()->GetRowType() == OptionRow::RowType_Exit ) { - ExitRow = &*Rows.back(); + pSeparateExitRow = &*Rows.back(); /* Remove the exit row for purposes of positioning everything else. */ if( P1Choice == (int) Rows.size()-1 ) @@ -739,10 +739,10 @@ void ScreenOptions::PositionRows() row.SetRowHidden( bHidden ); } - if( ExitRow ) + if( pSeparateExitRow ) { - ExitRow->m_tsDestination.pos.y = SEPARATE_EXIT_ROW_Y; - ExitRow->SetRowHidden( second_end != (int) Rows.size() ); + pSeparateExitRow->m_tsDestination.pos.y = SEPARATE_EXIT_ROW_Y; + pSeparateExitRow->SetRowHidden( second_end != (int) Rows.size() ); } }