Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        lang.c 


Log Message:
No need to convert between utf8 and utf8.

===================================================================
RCS file: /cvs/e/e16/e/src/lang.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- lang.c      26 Jun 2008 21:57:22 -0000      1.26
+++ lang.c      26 Jun 2008 21:59:23 -0000      1.27
@@ -392,15 +392,15 @@
       Mode.locale.utf8_int = 1;
 
 #if HAVE_ICONV
+   if (Mode.locale.utf8_int && Mode.locale.utf8_loc)
+      return;
    if (Mode.locale.utf8_int)
      {
        iconv_cd_loc2int = EiconvOpen("UTF-8", enc_loc);
        iconv_cd_int2loc = EiconvOpen(enc_loc, "UTF-8");
-       iconv_cd_utf82int = iconv_cd_int2utf8 = BAD_CD;
      }
    else
      {
-       iconv_cd_loc2int = iconv_cd_int2loc = BAD_CD;
        iconv_cd_utf82int = EiconvOpen(enc_loc, "UTF-8");
        iconv_cd_int2utf8 = EiconvOpen("UTF-8", enc_loc);
      }



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to