0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.1a

This commit is contained in:
Bram Moolenaar
2007-05-06 14:12:36 +00:00
parent da65f156f3
commit 8cfdc0df95
3 changed files with 27 additions and 23 deletions

View File

@@ -2734,7 +2734,7 @@ retnomove:
/* When dragging the mouse, while the text has been scrolled up as
* far as it goes, moving the mouse in the top line should scroll
* the text down (done later when recomputing w_topline). */
if (mouse_dragging
if (mouse_dragging > 0
&& curwin->w_cursor.lnum
== curwin->w_buffer->b_ml.ml_line_count
&& curwin->w_cursor.lnum == curwin->w_topline)