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:
reimar 2006-08-27 08:10:07 +00:00
parent df424c30bc
commit 081b699393
1 changed files with 1 additions and 1 deletions

View File

@ -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) {