From 081b69939338ed8b32af023e7f3a7a0ede9f26dc Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 27 Aug 2006 08:10:07 +0000 Subject: 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 --- mp_msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mp_msg.c') 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) { -- cgit v1.2.3