render: repair parenthesis after rebase

This commit is contained in:
Daniel Eklöf 2021-06-15 06:00:00 +02:00
parent b471fe31b1
commit 96ff29bbd3
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -621,11 +621,11 @@ render_cell(struct terminal *term, pixman_image_t *pix,
glyphs[0]->cols == 1 &&
glyphs[0]->width >= term->cell_width * 15 / 10 &&
glyphs[0]->width < 3 * term->cell_width &&
col < term->cols - 1 ||
(term->conf->tweak.pua_double_width &&
((base >= 0x00e000 && base <= 0x00f8ff) ||
(base >= 0x0f0000 && base <= 0x0ffffd) ||
(base >= 0x100000 && base <= 0x10fffd))))) &&
col < term->cols - 1) ||
(term->conf->tweak.pua_double_width &&
((base >= 0x00e000 && base <= 0x00f8ff) ||
(base >= 0x0f0000 && base <= 0x0ffffd) ||
(base >= 0x100000 && base <= 0x10fffd)))) &&
(row->cells[col + 1].wc == 0 || row->cells[col + 1].wc == L' '))
{
cell_cols = 2;