mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-23 01:40:12 -05:00
term: rename COMB_CHARS_LO,HI -> CELL_COMB_CHARS_LO,HI
This commit is contained in:
parent
4cf7195695
commit
5c99e8013b
4 changed files with 14 additions and 13 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue