const fixes

This commit is contained in:
Glenn Maynard
2004-02-22 21:25:22 +00:00
parent 06a3aea227
commit 95edf1db8a
3 changed files with 20 additions and 19 deletions
+2 -2
View File
@@ -119,7 +119,7 @@ ScreenUnlock::ScreenUnlock( CString sClassName ) : ScreenAttract( sClassName )
DisplayedSong = UNLOCKMAN->m_SongEntries[i-1].m_sSongName;
DisplayedSong.MakeUpper();
UnlockEntry *pSong = UNLOCKMAN->FindLockEntry(DisplayedSong);
const UnlockEntry *pSong = UNLOCKMAN->FindLockEntry(DisplayedSong);
if ( pSong == NULL ) // no such song
continue;
@@ -247,7 +247,7 @@ ScreenUnlock::ScreenUnlock( CString sClassName ) : ScreenAttract( sClassName )
}
DisplayedSong.MakeUpper();
UnlockEntry *pSong = UNLOCKMAN->FindLockEntry(DisplayedSong);
const UnlockEntry *pSong = UNLOCKMAN->FindLockEntry(DisplayedSong);
if (pSong->m_pSong == NULL)
continue;