diff options
-rw-r--r-- | mbbsd/edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/edit.c b/mbbsd/edit.c index 0a0f57c4..4f047e96 100644 --- a/mbbsd/edit.c +++ b/mbbsd/edit.c @@ -1805,7 +1805,7 @@ block_delete(void) textline_t *p; if (curr_buf->currln >= curr_buf->blockln) { - curr_buf->curr_window_line -= (curr_buf->currln - curr_buf->blockln); + curr_buf->curr_window_line -= (curr_buf->currln - curr_buf->blockln + 1); if (curr_buf->curr_window_line < 0) { curr_buf->curr_window_line = 0; if (end->next) |