2002-08-02 Roland McGrath <roland@redhat.com>
[platform/upstream/glibc.git] / intl / loadmsgcat.c
index 19a3e9b..b9e59f5 100644 (file)
@@ -805,7 +805,7 @@ _nl_init_domain_conv (domain_file, domain, domainbinding)
              if (outcharset == NULL || outcharset[0] == '\0')
                {
 # ifdef _LIBC
-                 outcharset = (*_nl_current[LC_CTYPE])->values[_NL_ITEM_INDEX (CODESET)].string;
+                 outcharset = _NL_CURRENT (LC_CTYPE, CODESET);
 # else
 #  if HAVE_ICONV
                  extern const char *locale_charset (void);