clean up enum Message names so that they match the corresponding strings

This commit is contained in:
Chris Danford
2005-08-14 07:29:48 +00:00
parent 09386e06e3
commit 7191258c0a
13 changed files with 92 additions and 92 deletions
+4 -4
View File
@@ -137,8 +137,8 @@ REGISTER_ACTOR_CLASS( GenreDisplay )
GenreDisplay::GenreDisplay()
{
this->SubscribeToMessage( MESSAGE_CURRENT_SONG_CHANGED );
this->SubscribeToMessage( MESSAGE_CURRENT_COURSE_CHANGED );
this->SubscribeToMessage( Message_CurrentSongChanged );
this->SubscribeToMessage( Message_CurrentCourseChanged);
}
GenreDisplay::~GenreDisplay()
@@ -147,7 +147,7 @@ GenreDisplay::~GenreDisplay()
void GenreDisplay::PlayCommand( const CString &sCommandName, Actor* pParent )
{
if( sCommandName == MessageToString(MESSAGE_CURRENT_SONG_CHANGED) )
if( sCommandName == MessageToString(Message_CurrentSongChanged) )
{
vector<CString> m_Artists, m_AltArtists;
@@ -159,7 +159,7 @@ void GenreDisplay::PlayCommand( const CString &sCommandName, Actor* pParent )
SetTips( m_Artists, m_AltArtists );
}
else if( sCommandName == MessageToString(MESSAGE_CURRENT_COURSE_CHANGED) )
else if( sCommandName == MessageToString(Message_CurrentCourseChanged) )
{
vector<CString> m_Artists, m_AltArtists;