changeset 36590:d48b97f78f2e

Fix iconv check in r36657. Strictly speaking, it has to be the other way around.
author ib
date Tue, 21 Jan 2014 20:36:28 +0000
parents 7c0c1a5642f9
children 15e799452bb0
files gui/dialog/preferences.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/dialog/preferences.c	Tue Jan 21 20:34:56 2014 +0000
+++ b/gui/dialog/preferences.c	Tue Jan 21 20:36:28 2014 +0000
@@ -813,7 +813,7 @@
    iconv_t cd;
    for ( i=0;lEncoding[i].name;i++ )
    {
-    cd=iconv_open( lEncoding[i].name,"UTF-8" );
+    cd=iconv_open( "UTF-8",lEncoding[i].name );
 
     if (cd != (iconv_t) -1)
     {