Problem: Using both old and new style file mark lines from viminfo.
Solution: Skip the old style lines if the viminfo file was written with a
Vim version that supports the new style.
break;
case '-':
case '\'':
- eof = read_viminfo_filemark(virp, forceit);
+ /* When file marks are in bar lines skip the old style lines. */
+ if (virp->vir_version < VIMINFO_VERSION_WITH_MARKS)
+ eof = read_viminfo_filemark(virp, forceit);
+ else
+ eof = viminfo_readline(virp);
break;
default:
if (viminfo_error("E575: ", _("Illegal starting char"),
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1931,
/**/
1930,
/**/