forked from aniani/vim
patch 7.4.2262
Problem: Fail to read register content from viminfo if it is 438 characters long. (John Chen) Solution: Adjust the check for line wrapping. (closes #1010)
This commit is contained in:
@@ -2526,7 +2526,7 @@ barline_writestring(FILE *fd, char_u *s, int remaining_start)
|
||||
else
|
||||
++len;
|
||||
}
|
||||
if (len > remaining)
|
||||
if (len > remaining - 2)
|
||||
{
|
||||
fprintf(fd, ">%d\n|<", len);
|
||||
remaining = LSIZE - 20;
|
||||
|
Reference in New Issue
Block a user