commit | 8cfdc0df95ab76183c51fbf7a9ab03fd3db7c16a | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun May 06 14:12:36 2007 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Sun May 06 14:12:36 2007 +0000 |
tree | 7fad9a24bd8ff6c755b13d213480dcd032631d3d | |
parent | da65f156f3c1285915d8d0adeb17e9458e19acee [diff] [blame] |
updated for version 7.1a
diff --git a/src/ui.c b/src/ui.c index 96785be..c2a224d 100644 --- a/src/ui.c +++ b/src/ui.c
@@ -2734,7 +2734,7 @@ /* 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)