mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
updated for version 7.0021
This commit is contained in:
@@ -902,6 +902,8 @@ foldMoveTo(updown, dir, count)
|
||||
int level;
|
||||
int last;
|
||||
|
||||
checkupdate(curwin);
|
||||
|
||||
/* Repeat "count" times. */
|
||||
for (n = 0; n < count; ++n)
|
||||
{
|
||||
@@ -2883,7 +2885,7 @@ foldRemove(gap, top, bot)
|
||||
{
|
||||
/* Found an entry below top. */
|
||||
fold_changed = TRUE;
|
||||
if (fp->fd_top + fp->fd_len > bot)
|
||||
if (fp->fd_top + fp->fd_len - 1 > bot)
|
||||
{
|
||||
/* 5: Make fold that includes bot start below bot. */
|
||||
foldMarkAdjustRecurse(&fp->fd_nested,
|
||||
|
Reference in New Issue
Block a user