]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.412 v7.3.412
authorBram Moolenaar <Bram@vim.org>
Thu, 26 Jan 2012 10:45:30 +0000 (11:45 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 26 Jan 2012 10:45:30 +0000 (11:45 +0100)
Problem:    Storing a float in a session file has an additional '&'.
Solution:   Remove the '&'. (Yasuhiro Matsumoto)

src/eval.c
src/version.c

index dd1685106fac48376ba8edc9b6691c79bce5d76c..4ba4121d7b3a5cf4a55dd09261d6d70fe12669d6 100644 (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;
index da0edeb3d9413c48afc62c4d7a2abb5ef3fa9c36..d51cd71b0c147821a47998a8129e0ed2c170387b 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    412,
 /**/
     411,
 /**/