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

@ -408,10 +408,10 @@ render_cell(struct terminal *term, pixman_image_t *pix,
if (cell->wc != 0) {
wchar_t base = cell->wc;
if (base >= COMB_CHARS_LO &&
base < (COMB_CHARS_LO + term->composed_count))
if (base >= CELL_COMB_CHARS_LO &&
base < (CELL_COMB_CHARS_LO + term->composed_count))
{
composed = &term->composed[base - COMB_CHARS_LO];
composed = &term->composed[base - CELL_COMB_CHARS_LO];
base = composed->base;
}