diff mp_msg.c @ 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 4231482179b6
children 04cea12cd324
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) {