This commit is contained in:
Glenn Maynard
2004-01-09 01:13:02 +00:00
parent 7bf2b66222
commit 0183ed4641
+4 -4
View File
@@ -212,17 +212,17 @@ CString ScreenProfileOptions::GetSelectedProfileID()
vector<CString> 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()] ];
}