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

updated for version 7.4.308

Problem:    When using ":diffsplit" on an empty file the cursor is displayed
            on the command line.
Solution:   Limit the value of w_topfill.
This commit is contained in:
Bram Moolenaar 2014-05-28 11:35:37 +02:00
parent cbc17d66be
commit 846a2ff5f3
2 changed files with 3 additions and 0 deletions

View File

@ -622,6 +622,7 @@ diff_redraw(dofold)
wp->w_topfill = (n < 0 ? 0 : n);
else if (n > 0 && n > wp->w_topfill)
wp->w_topfill = n;
check_topfill(wp, FALSE);
}
}
}

View File

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