diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-01-26 11:45:30 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-01-26 11:45:30 +0100 |
commit | 2b04b19455762e0410dbcbe2c29d60dfa4b98b2e (patch) | |
tree | 819ab60546b8995f1f47602b8a3c6b8761043d9d /src | |
parent | 53748fcb7b3199b11eb10fe9620973be5afe427d (diff) |
updated for version 7.3.412v7.3.412
Problem: Storing a float in a session file has an additional '&'.
Solution: Remove the '&'. (Yasuhiro Matsumoto)
Diffstat (limited to 'src')
-rw-r--r-- | src/eval.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
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 @@ -715,6 +715,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 412, +/**/ 411, /**/ 410, |