Output warning messages in the current locale's charset.
git-svn-id: https://svn.musicpd.org/mpd/trunk@5229 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
@ -113,7 +113,10 @@ void flushWarningLog(void)
|
||||
if (next == NULL) break;
|
||||
*next = '\0';
|
||||
next++;
|
||||
fprintf(stderr, "%s\n", s);
|
||||
if (stdout_mode)
|
||||
fprintf(stderr, "%s\n", utf8ToLocaleCharset(s));
|
||||
else
|
||||
fprintf(stderr, "%s\n", s);
|
||||
s = next;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user