Cleanup.
This commit is contained in:
@@ -190,7 +190,7 @@ void ScreenNameEntry::Init()
|
||||
|
||||
for( int iCol=0; iCol<pStyle->m_iColsPerPlayer; iCol++ )
|
||||
{
|
||||
if(CurrentStringIndex == MAX_RANKING_NAME_LENGTH)
|
||||
if( CurrentStringIndex == MAX_RANKING_NAME_LENGTH )
|
||||
continue; /* We have enough columns. */
|
||||
|
||||
/* Find out if this column is associated with the START menu button. */
|
||||
@@ -306,7 +306,7 @@ void ScreenNameEntry::DrawPrimitives()
|
||||
char c = NAME_CHARS[iCharIndex];
|
||||
for( int t=0; t<pStyle->m_iColsPerPlayer; t++ )
|
||||
{
|
||||
if(m_ColToStringIndex[p][t] == -1)
|
||||
if( m_ColToStringIndex[p][t] == -1 )
|
||||
continue;
|
||||
|
||||
m_textScrollingChars[p][t].SetText( ssprintf("%c",c) ); // why doens't CStdStr have a contructor that takes a char?
|
||||
|
||||
Reference in New Issue
Block a user