summaryrefslogtreecommitdiffstats
path: root/mp_msg.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-27 08:10:07 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-27 08:10:07 +0000
commit081b69939338ed8b32af023e7f3a7a0ede9f26dc (patch)
treed37419fc167fb9ea7f86705e7295a7413a6beac9 /mp_msg.c
parentdf424c30bc6f1f383563d280826df44ec1450bd4 (diff)
downloadmpv-081b69939338ed8b32af023e7f3a7a0ede9f26dc.tar.bz2
mpv-081b69939338ed8b32af023e7f3a7a0ede9f26dc.tar.xz
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
Diffstat (limited to 'mp_msg.c')
-rw-r--r--mp_msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mp_msg.c b/mp_msg.c
index 7151b6de67..c6bb3bc942 100644
--- a/mp_msg.c
+++ b/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) {