Patch 8.2.0636

9 views
Skip to first unread message

Bram Moolenaar

unread,
Apr 25, 2020, 9:46:14 AM4/25/20
to vim...@googlegroups.com

Patch 8.2.0636
Problem: :messages does not show the maintainer when $LANG is unset.
Solution: Call get_mess_lang() if available. (closes #5978)
Files: src/message.c


*** ../vim-8.2.0635/src/message.c 2020-03-18 15:23:10.983695087 +0100
--- src/message.c 2020-04-25 15:39:01.937249653 +0200
***************
*** 1035,1041 ****
--- 1035,1045 ----

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.
*** ../vim-8.2.0635/src/version.c 2020-04-25 15:35:29.445976506 +0200
--- src/version.c 2020-04-25 15:40:12.225013742 +0200
***************
*** 748,749 ****
--- 748,751 ----
{ /* Add new patch number below this line */
+ /**/
+ 636,
/**/

--
hundred-and-one symptoms of being an internet addict:
14. You start introducing yourself as "Jim at I-I-Net dot net dot au"

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages