aboutsummaryrefslogtreecommitdiff
path: root/wcsmbs
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs')
-rw-r--r--wcsmbs/wcsmbsload.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/wcsmbs/wcsmbsload.h b/wcsmbs/wcsmbsload.h
index dee2c815c2..1fcb42c033 100644
--- a/wcsmbs/wcsmbsload.h
+++ b/wcsmbs/wcsmbsload.h
@@ -57,6 +57,6 @@ extern int __wcsmbs_named_conv (struct gconv_fcts *copy, const char *name)
static inline void
update_conversion_ptrs (void)
{
- if (__wcsmbs_last_locale != _nl_current_LC_CTYPE)
- __wcsmbs_load_conv (_nl_current_LC_CTYPE);
+ if (__wcsmbs_last_locale != _NL_CURRENT_DATA (LC_CTYPE))
+ __wcsmbs_load_conv (_NL_CURRENT_DATA (LC_CTYPE));
}