If no banner path is defined at all, return the null string, not the song path.

This commit is contained in:
Glenn Maynard
2003-08-03 05:36:22 +00:00
parent e78ad5e491
commit f6ee6c62f0
+4
View File
@@ -1484,11 +1484,15 @@ CString Song::GetMusicPath() const
CString Song::GetBannerPath() const CString Song::GetBannerPath() const
{ {
if( m_sBannerFile == "" )
return "";
return m_sSongDir+m_sBannerFile; return m_sSongDir+m_sBannerFile;
} }
CString Song::GetLyricsPath() const CString Song::GetLyricsPath() const
{ {
if( m_sLyricsFile == "" )
return "";
return m_sSongDir+m_sLyricsFile; return m_sSongDir+m_sLyricsFile;
} }