If no banner path is defined at all, return the null string, not the song path.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user