From 1c507bbd2334fd0e22cbede0c6516c316bb644b7 Mon Sep 17 00:00:00 2001 From: Stas Degteff Date: Thu, 27 Apr 2006 09:25:42 +0000 Subject: [PATCH] Fix loading charsets for iconv --- golded3/geline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/golded3/geline.cpp b/golded3/geline.cpp index 1554ffd..03f6da8 100644 --- a/golded3/geline.cpp +++ b/golded3/geline.cpp @@ -3022,7 +3022,7 @@ int LoadCharset(const char* imp, const char* exp, int query) { #ifdef HAS_ICONV if( iconv_cd != (iconv_t)(-1) ) iconv_close(iconv_cd); - iconv_cd = iconv_open(imp,exp); + iconv_cd = iconv_open(exp, imp); if(iconv_cd != (iconv_t)(-1) ) LOG.printf("iconv is initialised to convert from %s to %s", imp, exp); else