mirror of https://github.com/mpv-player/mpv
Mixed up from and to charsets in iconv open failure message.
Patch by Zuxy Meng zuxy.meng at gmail com. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19555 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
df424c30bc
commit
081b699393
2
mp_msg.c
2
mp_msg.c
|
@ -93,7 +93,7 @@ void mp_msg(int mod, int lev, const char *format, ... ){
|
|||
}
|
||||
if (msgiconv == (iconv_t)(-1)) {
|
||||
fprintf(stderr,"iconv: conversion from %s to %s unsupported\n"
|
||||
,mp_msg_charset,MSG_CHARSET);
|
||||
,MSG_CHARSET,mp_msg_charset);
|
||||
}else{
|
||||
memset(tmp2, 0, MSGSIZE_MAX);
|
||||
while (iconv(msgiconv, &in, &inlen, &out, &outlen) == -1) {
|
||||
|
|
Loading…
Reference in New Issue