don't pass parent; m_pParent is used, which is set by AddChild

This commit is contained in:
Glenn Maynard
2006-08-15 19:16:39 +00:00
parent d2a4a2fa76
commit 29eb1f6ccb
3 changed files with 13 additions and 13 deletions
+6 -6
View File
@@ -78,15 +78,15 @@ void TextBanner::LoadFromString(
if( bTwoLines )
{
m_textTitle.RunCommands( TWO_LINES_TITLE_COMMAND, this );
m_textSubTitle.RunCommands( TWO_LINES_SUBTITLE_COMMAND, this );
m_textArtist.RunCommands( TWO_LINES_ARTIST_COMMAND, this );
m_textTitle.RunCommands( TWO_LINES_TITLE_COMMAND );
m_textSubTitle.RunCommands( TWO_LINES_SUBTITLE_COMMAND );
m_textArtist.RunCommands( TWO_LINES_ARTIST_COMMAND );
}
else
{
m_textTitle.RunCommands( THREE_LINES_TITLE_COMMAND, this );
m_textSubTitle.RunCommands( THREE_LINES_SUBTITLE_COMMAND, this );
m_textArtist.RunCommands( THREE_LINES_ARTIST_COMMAND, this );
m_textTitle.RunCommands( THREE_LINES_TITLE_COMMAND );
m_textSubTitle.RunCommands( THREE_LINES_SUBTITLE_COMMAND );
m_textArtist.RunCommands( THREE_LINES_ARTIST_COMMAND );
}
}