X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Flocale%2F__lctrans.c;h=107fe14a3a36d64176c611cf09c3aedb25fbc3b7;hb=3fe595de83e398dbc3cdbe303cacaf8485c9ae08;hp=15994c570a50b26c14a574876a69f22d0d0ecce1;hpb=86876dbec55d9416859bbbbc9850b1ec81b6dbea;p=musl diff --git a/src/locale/__lctrans.c b/src/locale/__lctrans.c index 15994c57..107fe14a 100644 --- a/src/locale/__lctrans.c +++ b/src/locale/__lctrans.c @@ -16,5 +16,5 @@ const char *__lctrans(const char *msg, const struct __locale_map *lm) const char *__lctrans_cur(const char *msg) { - return __lctrans_impl(msg, CURRENT_LOCALE->cat[LC_MESSAGES-2]); + return __lctrans_impl(msg, CURRENT_LOCALE->cat[LC_MESSAGES]); }