summaryrefslogtreecommitdiff
path: root/src/locale/__lctrans.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/locale/__lctrans.c')
-rw-r--r--src/locale/__lctrans.c2
1 files changed, 1 insertions, 1 deletions
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]);
}