use ToLower() instead of calling std::transform explicitly all the time

This commit is contained in:
unK
2008-09-29 00:11:00 +02:00
parent dbe0480db5
commit 0a210a8896
6 changed files with 34 additions and 27 deletions

View File

@@ -71,7 +71,7 @@ void * GetArtistInfo(void *ptr)
delete strptr;
string filename = artist + ".txt";
transform(filename.begin(), filename.end(), filename.begin(), tolower);
ToLower(filename);
EscapeUnallowedChars(filename);
const string fullpath = artists_folder + "/" + filename;