diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-05-16 16:48:19 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-05-16 16:48:19 +0000 |
| commit | 3405a9c81c981e0da06ba52c790a4a42a5e5c0c5 (patch) | |
| tree | b416b5b6fe1df6c8296e31308fd3a3117644c43d /search.c | |
| parent | Merge branch 'vt-anywhere-fix2' (diff) | |
| parent | grid: reflow: qsort_r() is not portable (diff) | |
Merge branch 'reflow-performance'
Part of #504
Diffstat (limited to 'search.c')
| -rw-r--r-- | search.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -337,7 +337,7 @@ search_find_next(struct terminal *term) row = term->grid->rows[end_row]; } - if (row->cells[end_col].wc == CELL_MULT_COL_SPACER) { + if (row->cells[end_col].wc >= CELL_SPACER) { end_col++; continue; } @@ -461,7 +461,7 @@ search_match_to_end_of_word(struct terminal *term, bool spaces_only) bool done = false; for (; end_col < term->cols; end_col++) { wchar_t wc = row->cells[end_col].wc; - if (wc == CELL_MULT_COL_SPACER) + if (wc >= CELL_SPACER) continue; const struct composed *composed = NULL; |
