fix compile (leaving warnings alone for now)

This commit is contained in:
Glenn Maynard
2005-06-27 05:41:43 +00:00
parent 092a55d6f6
commit 6d9b726210
+3 -2
View File
@@ -1279,8 +1279,9 @@ const CourseEntry *Course::FindFixedSong( const Song *pSong ) const
{
FOREACH_CONST( CourseEntry, m_entries, e )
{
if( e->pSong == pSong )
return e;
const CourseEntry &entry = *e;
if( entry.pSong == pSong )
return &entry;
}
return NULL;