From: Bram Moolenaar Date: Sat, 25 Apr 2020 13:45:37 +0000 (+0200) Subject: patch 8.2.0636: :messages does not show the maintainer when $LANG is unset X-Git-Tag: v8.2.0636 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=41f6918bf4545de6a80c96d8c80f5f509f9a647f;p=vim 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) --- 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, /**/