]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Oops.
authorBruno Haible <bruno@clisp.org>
Fri, 10 Jan 2003 21:55:53 +0000 (21:55 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:08:55 +0000 (12:08 +0200)
src/write-po.c

index 5208f3bef529744c10e619cf8b8b19fec927544f..11386a6d283a684563f2594a1db3cc7b206c9130 100644 (file)
@@ -242,12 +242,12 @@ wrap (FILE *fp, const char *line_prefix, const char *name, const char *value,
       /* Avoid Solaris 2.9 bug with GB2312, EUC-TW, BIG5, BIG5-HKSCS, GBK,
         GB18030.  */
 # if defined __sun && !defined _LIBICONV_VERSION
-      if (   strcmp (po_lex_charset, "GB2312") == 0
-         || strcmp (po_lex_charset, "EUC-TW") == 0
-         || strcmp (po_lex_charset, "BIG5") == 0
-         || strcmp (po_lex_charset, "BIG5-HKSCS") == 0
-         || strcmp (po_lex_charset, "GBK") == 0
-         || strcmp (po_lex_charset, "GB18030") == 0)
+      if (   strcmp (canon_charset, "GB2312") == 0
+         || strcmp (canon_charset, "EUC-TW") == 0
+         || strcmp (canon_charset, "BIG5") == 0
+         || strcmp (canon_charset, "BIG5-HKSCS") == 0
+         || strcmp (canon_charset, "GBK") == 0
+         || strcmp (canon_charset, "GB18030") == 0)
        conv = (iconv_t)(-1);
       else
 # endif