string: fix lowercase function

This commit is contained in:
Andrzej Rybczak
2012-09-08 15:58:35 +02:00
parent 1eecc0aa0b
commit 8f693cd822
8 changed files with 32 additions and 30 deletions

View File

@@ -124,8 +124,7 @@ void Lastfm::Load()
std::string artist = itsArgs.find("artist")->second;
locale_to_utf(artist);
std::string file = artist + ".txt";
lowercase(file);
std::string file = lowercase(artist + ".txt");
removeInvalidCharsFromFilename(file);
itsFilename = itsFolder + "/" + file;