Commit e0e568fe authored by Robert Siemborski's avatar Robert Siemborski
Browse files

bugfix for page_down_center

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@70 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 1 addition and 5 deletions
+1 -5
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment