term: rename COMB_CHARS_LO,HI -> CELL_COMB_CHARS_LO,HI

This commit is contained in:
Daniel Eklöf 2020-07-14 16:41:57 +02:00
parent 4cf7195695
commit 5c99e8013b
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 14 additions and 13 deletions

View file

@ -321,8 +321,9 @@ extract_one(struct terminal *term, struct row *row, struct cell *cell,
assert(ctx->idx + 1 <= ctx->size);
if (cell->wc >= COMB_CHARS_LO && cell->wc < (COMB_CHARS_LO + term->composed_count)) {
const struct composed *composed = &term->composed[cell->wc - COMB_CHARS_LO];
if (cell->wc >= CELL_COMB_CHARS_LO &&
cell->wc < (CELL_COMB_CHARS_LO + term->composed_count)) {
const struct composed *composed = &term->composed[cell->wc - CELL_COMB_CHARS_LO];
ctx->buf[ctx->idx++] = composed->base;