From: Adam Rogoyski Date: Thu, 6 Jul 2000 02:14:06 +0000 (+0000) Subject: - page_down() do not edit_update() if we are moving to the bottom of the file X-Git-Tag: v0.9.12~15 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=acf71da6366b91d34fb0c53db96cfab0efa748c4;p=nano.git - 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 --- 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();