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:
parent
4989672ac0
commit
44c5549b46
@ -113,7 +113,10 @@ void flushWarningLog(void)
|
|||||||
if (next == NULL) break;
|
if (next == NULL) break;
|
||||||
*next = '\0';
|
*next = '\0';
|
||||||
next++;
|
next++;
|
||||||
fprintf(stderr, "%s\n", s);
|
if (stdout_mode)
|
||||||
|
fprintf(stderr, "%s\n", utf8ToLocaleCharset(s));
|
||||||
|
else
|
||||||
|
fprintf(stderr, "%s\n", s);
|
||||||
s = next;
|
s = next;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user