Mirror of the Vim source from https://github.com/vim/vim
Revision | eef96cfdbbbebe5aa61b420d3eea31c3c5b6d719 (tree) |
---|---|
Time | 2008-06-10 00:07:54 |
Author | vimboss |
Commiter | vimboss |
updated for version 7.1-314
@@ -243,7 +243,8 @@ | ||
243 | 243 | /* WV_ and BV_ values get typecasted to this for the "indir" field */ |
244 | 244 | typedef enum |
245 | 245 | { |
246 | - PV_NONE = 0 | |
246 | + PV_NONE = 0, | |
247 | + PV_MAXVAL = 0xffff /* to avoid warnings for value out of range */ | |
247 | 248 | } idopt_T; |
248 | 249 | |
249 | 250 | /* |
@@ -8713,7 +8714,7 @@ | ||
8713 | 8714 | { |
8714 | 8715 | s = *valuep; |
8715 | 8716 | while (*s != NUL) |
8716 | - if (fputs((char *)str2special(&s, FALSE), fd) < 0) | |
8717 | + if (put_escstr(fd, str2special(&s, FALSE), 2) == FAIL) | |
8717 | 8718 | return FAIL; |
8718 | 8719 | } |
8719 | 8720 | else if (expand) |
@@ -667,6 +667,8 @@ | ||
667 | 667 | static int included_patches[] = |
668 | 668 | { /* Add new patch number below this line */ |
669 | 669 | /**/ |
670 | + 314, | |
671 | +/**/ | |
670 | 672 | 313, |
671 | 673 | /**/ |
672 | 674 | 312, |