changeset 19549:5680696f964b

Mixed up from and to charsets in iconv open failure message. Patch by Zuxy Meng zuxy.meng at gmail com.
author reimar
date Sun, 27 Aug 2006 08:10:07 +0000
parents 42f586994f97
children ec7090509b38
files mp_msg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mp_msg.c	Sat Aug 26 22:13:07 2006 +0000
+++ b/mp_msg.c	Sun Aug 27 08:10:07 2006 +0000
@@ -93,7 +93,7 @@
       }
       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) {