Skip to content

Commit

Permalink
Merge branch '4652_mcedit_jump_to_bottom_of_screen'
Browse files Browse the repository at this point in the history
* 4652_mcedit_jump_to_bottom_of_screen:
  Ticket #4652: mcedit: fix jumping to bottom of screen
  • Loading branch information
aborodin committed Feb 15, 2025
2 parents f9a2d3a + b87bfb8 commit ee8b381
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/editor/edit.c
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,8 @@ static void
edit_end_page (WEdit *edit)
{
edit_update_curs_row (edit);
edit_move_down (edit, WIDGET (edit)->rect.lines - edit->curs_row - 1, FALSE);
edit_move_down (edit, WIDGET (edit)->rect.lines - edit->curs_row - (edit->fullscreen ? 1 : 3),
FALSE);
}

/* --------------------------------------------------------------------------------------------- */
Expand Down

0 comments on commit ee8b381

Please sign in to comment.