diff options
Diffstat (limited to 'src/locale/langinfo.c')
-rw-r--r-- | src/locale/langinfo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/locale/langinfo.c b/src/locale/langinfo.c index aa0e8de6..a1ada246 100644 --- a/src/locale/langinfo.c +++ b/src/locale/langinfo.c @@ -57,6 +57,7 @@ char *__nl_langinfo_l(nl_item item, locale_t loc) } for (; idx; idx--, str++) for (; *str; str++); + if (cat != LC_NUMERIC && *str) str = LCTRANS(str, cat, loc); return (char *)str; } |