From acf71da6366b91d34fb0c53db96cfab0efa748c4 Mon Sep 17 00:00:00 2001 From: Adam Rogoyski Date: Thu, 6 Jul 2000 02:14:06 +0000 Subject: [PATCH] - 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 --- move.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/move.c b/move.c index 37f46d72..0b883031 100644 --- 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(); -- 2.39.5