fix crash on songs with no banner

This commit is contained in:
Glenn Maynard
2003-06-16 07:54:17 +00:00
parent 21495c6a72
commit 81626a981d
+1 -1
View File
@@ -114,7 +114,7 @@ void FadingBanner::LoadFromCachedBanner( const CString &path )
BeforeChange();
// FIXME m_Banner[GetBackIndex()].LoadFromSong( pSong );
if( DoesFileExist(path) )
if( IsAFile(path) )
m_Banner[GetBackIndex()].Load( path );
else
m_Banner[GetBackIndex()].LoadFallback();