Let's clean up everyone's logs a little bit...

This commit is contained in:
Ben Anderson
2004-11-13 17:48:59 +00:00
parent b9e5fe5245
commit 53857a39ff
-3
View File
@@ -879,7 +879,6 @@ bool BMSLoader::LoadFromDir( CString sDir, Song &out )
{ {
if( GetTagFromMap( aBMSData[i], "#title", commonSubstring ) ) if( GetTagFromMap( aBMSData[i], "#title", commonSubstring ) )
{ {
LOG->Trace("CSA: Starting with \"%s\"", commonSubstring.c_str());
// This whole loop usually only runs once, // This whole loop usually only runs once,
// but the less we assume, the better. // but the less we assume, the better.
break; break;
@@ -894,7 +893,6 @@ bool BMSLoader::LoadFromDir( CString sDir, Song &out )
if( GetTagFromMap( aBMSData[i], "#title", sTitle ) ) if( GetTagFromMap( aBMSData[i], "#title", sTitle ) )
{ {
commonSubstring = FindLargestCommonSubstring( commonSubstring, sTitle ); commonSubstring = FindLargestCommonSubstring( commonSubstring, sTitle );
LOG->Trace("CSA: \"%s\" trimmed substring to \"%s\"", sTitle.c_str(), commonSubstring.c_str() );
if( commonSubstring == "" ) if( commonSubstring == "" )
{ {
// All bets are off; the titles don't match at all. // All bets are off; the titles don't match at all.
@@ -928,7 +926,6 @@ bool BMSLoader::LoadFromDir( CString sDir, Song &out )
{ {
int tagSubstrLen = sTag.GetLength() - commonSubstrLen; int tagSubstrLen = sTag.GetLength() - commonSubstrLen;
LOG->Trace("Common Substring algorithm: \"%s\" \"%s\" %i %i", commonSubstring.c_str(), sTag.c_str(), commonSubstrLen, tagSubstrLen );
sTag = sTag.substr( commonSubstrLen, sTag.GetLength() - commonSubstrLen ); sTag = sTag.substr( commonSubstrLen, sTag.GetLength() - commonSubstrLen );
sTag.ToLower(); sTag.ToLower();