diff options
Diffstat (limited to 'wctype')
-rw-r--r-- | wctype/wctrans.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wctype/wctrans.c b/wctype/wctrans.c index 3c46131f24..a5b4a32aac 100644 --- a/wctype/wctrans.c +++ b/wctype/wctrans.c @@ -50,7 +50,7 @@ wctrans (const char *property) return (wctrans_t) __ctype_tolower; /* We have to search the table. */ - result = (int32_t *) _NL_CURRENT (LC_CTYPE, _NL_CTYPE_WIDTH + cnt - 2); + result = (int32_t *) _NL_CURRENT (LC_CTYPE, _NL_NUM_LC_CTYPE + cnt - 2); return (wctrans_t) (result + 128); } |