From 0183ed4641e20242131247ee61ee6d11e903b9c3 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 9 Jan 2004 01:13:02 +0000 Subject: [PATCH] cleanup --- stepmania/src/ScreenProfileOptions.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stepmania/src/ScreenProfileOptions.cpp b/stepmania/src/ScreenProfileOptions.cpp index f19eb649ac..587c5d373f 100644 --- a/stepmania/src/ScreenProfileOptions.cpp +++ b/stepmania/src/ScreenProfileOptions.cpp @@ -212,17 +212,17 @@ CString ScreenProfileOptions::GetSelectedProfileID() vector vsProfiles; PROFILEMAN->GetLocalProfileIDs( vsProfiles ); - if( m_iSelectedOption[0][m_iCurrentRow[0]]==0 ) + if( m_iSelectedOption[0][GetCurrentRow()]==0 ) return ""; else - return vsProfiles[m_iSelectedOption[0][m_iCurrentRow[0]]-1]; + return vsProfiles[m_iSelectedOption[0][GetCurrentRow()]-1]; } CString ScreenProfileOptions::GetSelectedProfileName() { - if( m_iSelectedOption[0][m_iCurrentRow[0]]==0 ) + if( m_iSelectedOption[0][GetCurrentRow()]==0 ) return ""; else - return g_ProfileOptionsLines[PO_PLAYER1].choices[ m_iSelectedOption[0][m_iCurrentRow[0]] ]; + return g_ProfileOptionsLines[PO_PLAYER1].choices[ m_iSelectedOption[0][GetCurrentRow()] ]; }