aboutsummaryrefslogtreecommitdiff
path: root/debug.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-04-23 10:28:12 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-04-24 18:17:37 +0000
commit082e242ce5c954c59f52a6878a6d3794694a1182 (patch)
tree69963d9392587fb37aaa04ff42f24d596ce6c164 /debug.c
parentsearch: matches_next: don’t wrap around grid->num_rows (diff)
search: matches_next: stop searching when start.row >= term->rows
As this means the last call to sarch_matches_next() found a match at the bottom of the view, and then set the iter’s *next* start position to a row outside the view. This is fine, but we need to handle it, by immediately stopping the iter.
Diffstat (limited to 'debug.c')
0 files changed, 0 insertions, 0 deletions