Commit acf71da6 authored by Adam Rogoyski's avatar Adam Rogoyski
Browse files

- page_down() do not edit_update() if we are moving to the bottom of the file

  and the bottom is currently in the edit buffer.


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@74 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -57,13 +57,13 @@ int page_down(void)
if (editbot != filebot) {
current_y = 0;
current = editbot;
edit_update_top(current);
} else
while (current != filebot) {
current = current->next;
current_y++;
}
edit_update_top(current);
update_cursor();
UNSET(KEEP_CUTBUFFER);
check_statblank();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment