Skip to content

Commit

Permalink
patch 8.2.0636: :messages does not show the maintainer when $LANG is …
Browse files Browse the repository at this point in the history
…unset

Problem:    :messages does not show the maintainer when $LANG is unset.
Solution:   Call get_mess_lang() if available. (closes vim#5978)
  • Loading branch information
brammool committed Apr 25, 2020
1 parent e93c968 commit 41f6918
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/message.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -746,6 +746,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
636,
/**/
635,
/**/
Expand Down

0 comments on commit 41f6918

Please sign in to comment.