Commit 44c5549b authored by J. Alexander Treuman's avatar J. Alexander Treuman

Output warning messages in the current locale's charset.

git-svn-id: https://svn.musicpd.org/mpd/trunk@5229 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent 4989672a
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment