From: Bram Moolenaar Date: Thu, 26 Jan 2012 10:45:30 +0000 (+0100) Subject: updated for version 7.3.412 X-Git-Tag: v7.3.412 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2b04b19455762e0410dbcbe2c29d60dfa4b98b2e;p=thirdparty%2Fvim.git updated for version 7.3.412 Problem: Storing a float in a session file has an additional '&'. Solution: Remove the '&'. (Yasuhiro Matsumoto) --- diff --git a/src/eval.c b/src/eval.c index dd1685106f..4ba4121d7b 100644 --- a/src/eval.c +++ b/src/eval.c @@ -22929,7 +22929,7 @@ store_session_globals(fd) f = -f; sign = '-'; } - if ((fprintf(fd, "let %s = %c&%f", + if ((fprintf(fd, "let %s = %c%f", this_var->di_key, sign, f) < 0) || put_eol(fd) == FAIL) return FAIL; diff --git a/src/version.c b/src/version.c index da0edeb3d9..d51cd71b0c 100644 --- a/src/version.c +++ b/src/version.c @@ -714,6 +714,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 412, /**/ 411, /**/