From 41f6918bf4545de6a80c96d8c80f5f509f9a647f Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 25 Apr 2020 15:45:37 +0200 Subject: [PATCH] patch 8.2.0636: :messages does not show the maintainer when $LANG is unset Problem: :messages does not show the maintainer when $LANG is unset. Solution: Call get_mess_lang() if available. (closes #5978) --- src/message.c | 4 ++++ src/version.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/message.c b/src/message.c index fbddfadcb..04dc4014f 100644 --- a/src/message.c +++ b/src/message.c @@ -1035,7 +1035,11 @@ ex_messages(exarg_T *eap) if (p == first_msg_hist) { +#ifdef FEAT_MULTI_LANG + s = get_mess_lang(); +#else s = mch_getenv((char_u *)"LANG"); +#endif if (s != NULL && *s != NUL) // The next comment is extracted by xgettext and put in po file for // translators to read. diff --git a/src/version.c b/src/version.c index 2fcabeba4..7c753e22a 100644 --- a/src/version.c +++ b/src/version.c @@ -746,6 +746,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 636, /**/ 635, /**/ -- 2.50.1