commit acf71da6366b91d34fb0c53db96cfab0efa748c4
parent 01dc83ae129d294b247c45543f8074f129aa6786
Author: Adam Rogoyski <rogoyski@cs.utexas.edu>
Date: Thu, 6 Jul 2000 02:14:06 +0000
- 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
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/move.c b/move.c
@@ -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();