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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2b04b19455762e0410dbcbe2c29d60dfa4b98b2e;p=vim 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 dd1685106..4ba4121d7 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 da0edeb3d..d51cd71b0 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, /**/