From: Bram Moolenaar Date: Fri, 28 Jun 2013 18:36:30 +0000 (+0200) Subject: updated for version 7.3.1257 X-Git-Tag: v7.3.1257 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e3a0b53c2e8985e51174f01ee58f8746ea2c45a9;p=vim updated for version 7.3.1257 Problem: With GNU gettext() ":lang de_DE.utf8" does not always result in German messages. Solution: Clear the $LANGUAGE environment variable. --- diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c index 22b41f415..4a860ca88 100644 --- a/src/ex_cmds2.c +++ b/src/ex_cmds2.c @@ -4261,6 +4261,9 @@ ex_language(eap) if (what == LC_ALL) { vim_setenv((char_u *)"LANG", name); + + /* Clear $LANGUAGE because GNU gettext uses it. */ + vim_setenv((char_u *)"LANGUAGE", (char_u *)""); # ifdef WIN32 /* Apparently MS-Windows printf() may cause a crash when * we give it 8-bit text while it's expecting text in the diff --git a/src/version.c b/src/version.c index fe0ce589b..4980ae570 100644 --- a/src/version.c +++ b/src/version.c @@ -728,6 +728,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1257, /**/ 1256, /**/