Consistent insensitive string comparisons.
This seems to reduce the need for a #define, but I need someone on the Windows side to check.
This commit is contained in:
+3
-3
@@ -611,13 +611,13 @@ void Song::TidyUpData()
|
||||
|
||||
// Skip any image that we've already classified
|
||||
|
||||
if( HasBanner() && stricmp(m_sBannerFile, arrayImages[i])==0 )
|
||||
if( HasBanner() && m_sBannerFile.EqualsNoCase(arrayImages[i]) )
|
||||
continue; // skip
|
||||
|
||||
if( HasBackground() && stricmp(m_sBackgroundFile, arrayImages[i])==0 )
|
||||
if( HasBackground() && m_sBackgroundFile.EqualsNoCase(arrayImages[i]) )
|
||||
continue; // skip
|
||||
|
||||
if( HasCDTitle() && stricmp(m_sCDTitleFile, arrayImages[i])==0 )
|
||||
if( HasCDTitle() && m_sCDTitleFile.EqualsNoCase(arrayImages[i]) )
|
||||
continue; // skip
|
||||
|
||||
// todo: add checks for Jacket, Disc, and CDImage -aj
|
||||
|
||||
Reference in New Issue
Block a user