restrict conversions being done in strbuffer

This commit is contained in:
Andrzej Rybczak
2012-08-28 07:12:31 +02:00
parent a20a195225
commit b910ce38be
7 changed files with 139 additions and 88 deletions

View File

@@ -143,7 +143,7 @@ void Lastfm::Load()
while (getline(input, line))
{
if (!first)
*w << "\n";
*w << '\n';
utf_to_locale(line);
*w << line;
first = 0;
@@ -153,7 +153,7 @@ void Lastfm::Load()
}
else
{
*w << "Fetching informations... ";
*w << U("Fetching informations... ");
pthread_create(&itsDownloader, 0, DownloadWrapper, this);
isDownloadInProgress = 1;
}