convert lyrics and artist's info to current locale if needed

This commit is contained in:
Andrzej Rybczak
2009-01-12 08:22:45 +01:00
parent 67b8ca70fa
commit daca5964e8
3 changed files with 30 additions and 4 deletions

View File

@@ -716,7 +716,8 @@ Window &Window::operator<<(const double &d)
Window &Window::operator<<(const string &s)
{
wprintw(itsWindow, "%s", s.c_str());
for (string::const_iterator it = s.begin(); it != s.end(); it++)
wprintw(itsWindow, "%c", *it);
return *this;
}