mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -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:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user