mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-28 07:58:00 -04:00
search: fix debug log
This has been broken since the forward/backward search logic was refactored.
This commit is contained in:
parent
f0f0fac77f
commit
b68d5da71b
1 changed files with 2 additions and 1 deletions
3
search.c
3
search.c
|
|
@ -467,7 +467,8 @@ search_find_next(struct terminal *term, enum search_direction direction)
|
||||||
LOG_DBG(
|
LOG_DBG(
|
||||||
"update: %s: starting at row=%d col=%d "
|
"update: %s: starting at row=%d col=%d "
|
||||||
"(offset = %d, view = %d)",
|
"(offset = %d, view = %d)",
|
||||||
backward ? "backward" : "forward", start.row, start.col,
|
direction != SEARCH_FORWARD ? "backward" : "forward",
|
||||||
|
start.row, start.col,
|
||||||
grid->offset, grid->view);
|
grid->offset, grid->view);
|
||||||
|
|
||||||
struct coord end = start;
|
struct coord end = start;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue