| To: vim_dev@googlegroups.com |
| Subject: Patch 7.3.412 |
| Fcc: outbox |
| From: Bram Moolenaar <Bram@moolenaar.net> |
| Mime-Version: 1.0 |
| Content-Type: text/plain; charset=UTF-8 |
| Content-Transfer-Encoding: 8bit |
| |
| |
| Patch 7.3.412 |
| Problem: Storing a float in a session file has an additional '&'. |
| Solution: Remove the '&'. (Yasuhiro Matsumoto) |
| Files: src/eval.c |
| |
| |
| |
| |
| |
| *** 22929,22935 **** |
| f = -f; |
| sign = '-'; |
| } |
| ! if ((fprintf(fd, "let %s = %c&%f", |
| this_var->di_key, sign, f) < 0) |
| || put_eol(fd) == FAIL) |
| return FAIL; |
| --- 22929,22935 ---- |
| f = -f; |
| sign = '-'; |
| } |
| ! if ((fprintf(fd, "let %s = %c%f", |
| this_var->di_key, sign, f) < 0) |
| || put_eol(fd) == FAIL) |
| return FAIL; |
| |
| |
| |
| *** 716,717 **** |
| --- 716,719 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 412, |
| /**/ |
| |
| -- |
| Imagine a world without hypothetical situations. |
| |
| /// Bram Moolenaar -- Bram@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 /// |