TrimLeft(); TrimRight(); -> Trim();
This commit is contained in:
@@ -166,8 +166,7 @@ bool ScreenNameEntryTraditional::Finish( PlayerNumber pn )
|
||||
Profile* pProfile = PROFILEMAN->GetProfile(pn);
|
||||
pProfile->m_sLastUsedHighScoreName = sSelection;
|
||||
|
||||
TrimRight( sSelection, " " );
|
||||
TrimLeft( sSelection, " " );
|
||||
Trim( sSelection, " " );
|
||||
|
||||
GAMESTATE->StoreRankingName( pn, sSelection );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user