mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +03:00
Merge branch '1877_scroll_downward_fix'
* 1877_scroll_downward_fix: Ticket #1877 (edit scroll down fix)
This commit is contained in:
commit
87917730dc
@ -2139,9 +2139,12 @@ edit_move_updown (WEdit * edit, unsigned long i, int scroll, gboolean direction)
|
||||
|
||||
if (i > 1)
|
||||
edit->force |= REDRAW_PAGE;
|
||||
if (scroll)
|
||||
if (scroll) {
|
||||
if (direction)
|
||||
edit_scroll_upward (edit, i);
|
||||
|
||||
else
|
||||
edit_scroll_downward (edit, i);
|
||||
}
|
||||
p = edit_bol (edit, edit->curs1);
|
||||
|
||||
p = (direction)
|
||||
|
Loading…
Reference in New Issue
Block a user