0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

updated for version 7.3.412

Problem:    Storing a float in a session file has an additional '&'.
Solution:   Remove the '&'. (Yasuhiro Matsumoto)
This commit is contained in:
Bram Moolenaar 2012-01-26 11:45:30 +01:00
parent 53748fcb7b
commit 2b04b19455
2 changed files with 3 additions and 1 deletions

View File

@ -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;

View File

@ -714,6 +714,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
412,
/**/
411,
/**/