From f6ee6c62f003190d3ca1e9b0b513a253d98a76bd Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 3 Aug 2003 05:36:22 +0000 Subject: [PATCH] If no banner path is defined at all, return the null string, not the song path. --- stepmania/src/Song.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stepmania/src/Song.cpp b/stepmania/src/Song.cpp index 4c784b5625..382216c2e9 100644 --- a/stepmania/src/Song.cpp +++ b/stepmania/src/Song.cpp @@ -1484,11 +1484,15 @@ CString Song::GetMusicPath() const CString Song::GetBannerPath() const { + if( m_sBannerFile == "" ) + return ""; return m_sSongDir+m_sBannerFile; } CString Song::GetLyricsPath() const { + if( m_sLyricsFile == "" ) + return ""; return m_sSongDir+m_sLyricsFile; }