- 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
This commit is contained in:
Adam Rogoyski 2000-07-06 02:14:06 +00:00
parent 01dc83ae12
commit acf71da636
1 changed files with 1 additions and 1 deletions

2
move.c
View File

@ -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();