fix reading UTF-8 lyrics

This commit is contained in:
Glenn Maynard
2004-12-03 01:06:29 +00:00
parent a9c018b997
commit b3339bb7f1
+2
View File
@@ -43,6 +43,8 @@ bool LyricsLoader::LoadFromLRCFile(const CString& sPath, Song& out)
break; break;
} }
utf8_remove_bom( line );
if(!line.compare(0, 2, "//")) if(!line.compare(0, 2, "//"))
continue; continue;