mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
commands: fix LOG_DBG() usage in cmd_scrollback_{up,down}
The "end" variable was removed from both of these functions in
commit cb43c58150, but the references to it in the expansion
of LOG_DBG() weren't.
This commit is contained in:
parent
de201ead2e
commit
7045c177fd
1 changed files with 4 additions and 4 deletions
|
|
@ -59,8 +59,8 @@ cmd_scrollback_up(struct terminal *term, int rows)
|
|||
xassert(grid->rows[(new_view + r) & (grid->num_rows - 1)] != NULL);
|
||||
#endif
|
||||
|
||||
LOG_DBG("scrollback UP: %d -> %d (offset = %d, end = %d, rows = %d)",
|
||||
view, new_view, offset, end, grid_rows);
|
||||
LOG_DBG("scrollback UP: %d -> %d (offset = %d, rows = %d)",
|
||||
view, new_view, offset, grid_rows);
|
||||
|
||||
selection_view_up(term, new_view);
|
||||
term->grid->view = new_view;
|
||||
|
|
@ -113,8 +113,8 @@ cmd_scrollback_down(struct terminal *term, int rows)
|
|||
xassert(grid->rows[(new_view + r) & (grid_rows - 1)] != NULL);
|
||||
#endif
|
||||
|
||||
LOG_DBG("scrollback DOWN: %d -> %d (offset = %d, end = %d, rows = %d)",
|
||||
view, new_view, offset, end, grid_rows);
|
||||
LOG_DBG("scrollback DOWN: %d -> %d (offset = %d, rows = %d)",
|
||||
view, new_view, offset, grid_rows);
|
||||
|
||||
selection_view_down(term, new_view);
|
||||
term->grid->view = new_view;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue