bugfix for page_down_center

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@70 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
Robert Siemborski 2000-07-05 03:08:28 +00:00
parent 23ecb17595
commit e0e568fe17
1 changed files with 1 additions and 5 deletions

6
move.c
View File

@ -34,19 +34,15 @@
void page_down_center(void)
{
if (editbot->next != NULL && editbot->next != filebot) {
if (editbot != filebot) {
edit_update(editbot->next);
center_cursor();
} else if (editbot != filebot) {
edit_update(editbot);
center_cursor();
} else {
while (current != filebot)
current = current->next;
edit_update(current);
}
update_cursor();
}
int page_down(void)