aboutsummaryrefslogtreecommitdiff
path: root/vt.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-05-16 16:48:19 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-05-16 16:48:19 +0000
commit3405a9c81c981e0da06ba52c790a4a42a5e5c0c5 (patch)
treeb416b5b6fe1df6c8296e31308fd3a3117644c43d /vt.c
parentMerge branch 'vt-anywhere-fix2' (diff)
parentgrid: reflow: qsort_r() is not portable (diff)
Merge branch 'reflow-performance'
Part of #504
Diffstat (limited to 'vt.c')
-rw-r--r--vt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vt.c b/vt.c
index 8ec82dcf..669ba8c1 100644
--- a/vt.c
+++ b/vt.c
@@ -569,7 +569,7 @@ action_utf8_print(struct terminal *term, wchar_t wc)
if (!term->grid->cursor.lcf)
base_col--;
- while (row->cells[base_col].wc == CELL_MULT_COL_SPACER && base_col > 0)
+ while (row->cells[base_col].wc >= CELL_SPACER && base_col > 0)
base_col--;
xassert(base_col >= 0 && base_col < term->cols);