diff --git a/src/move.c b/src/move.c index d138356e..ce276e43 100644 --- a/src/move.c +++ b/src/move.c @@ -121,7 +121,7 @@ void do_page_up(void) openfile->current = openfile->edittop; openfile->current_y = 0; - leftedge = leftedge_for(openfile->firstcolumn, openfile->edittop); + leftedge = openfile->firstcolumn; target_column = 0; } else get_edge_and_target(&leftedge, &target_column); @@ -152,7 +152,7 @@ void do_page_down(void) openfile->current = openfile->edittop; openfile->current_y = 0; - leftedge = leftedge_for(openfile->firstcolumn, openfile->edittop); + leftedge = openfile->firstcolumn; target_column = 0; } else get_edge_and_target(&leftedge, &target_column);