diff options
| author | Craig Barnes <craigbarnes@protonmail.com> | 2022-04-27 18:18:43 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2022-04-27 18:44:14 +0000 |
| commit | 7045c177fdcef280c3d84ed368313c2e13f77915 (patch) | |
| tree | fc5076118894ceadf285d87dd9337d3dff216f37 | |
| parent | changelog: add new ‘unreleased’ section (diff) | |
commands: fix LOG_DBG() usage in cmd_scrollback_{up,down}
The "end" variable was removed from both of these functions in
commit cb43c581508d8, but the references to it in the expansion
of LOG_DBG() weren't.
| -rw-r--r-- | commands.c | 8 |
1 files changed, 4 insertions, 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; |
