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:
parent
cbc17d66be
commit
846a2ff5f3
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -734,6 +734,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
308,
|
||||
/**/
|
||||
307,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user