TrimLeft(); TrimRight(); -> Trim();

This commit is contained in:
Steve Checkoway
2007-12-01 23:33:38 +00:00
parent a21830527f
commit 611366a664
11 changed files with 18 additions and 30 deletions
+1 -2
View File
@@ -396,8 +396,7 @@ void ScreenNameEntry::MenuStart( const InputEventPlus &input )
Profile* pProfile = PROFILEMAN->GetProfile(pn);
pProfile->m_sLastUsedHighScoreName = m_sSelectedName[pn];
TrimRight( m_sSelectedName[pn], " " );
TrimLeft( m_sSelectedName[pn], " " );
Trim( m_sSelectedName[pn], " " );
GAMESTATE->StoreRankingName( pn, m_sSelectedName[pn] );