This commit is contained in:
Kovid Goyal 2025-05-27 13:10:11 +05:30
parent 61fd8c4003
commit 95f840fd56
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -1852,7 +1852,7 @@ render_line(FONTS_DATA_HANDLE fg_, Line *line, index_type lnum, Cursor *cursor,
CPUCell *cpu_cell = line->cpu_cells + i;
if (cpu_cell->is_multicell) {
if (cpu_cell->x) {
i += mcd_x_limit(cpu_cell) - cpu_cell->x - 1;
if (cpu_cell->x + 1u < mcd_x_limit(cpu_cell)) i += mcd_x_limit(cpu_cell) - cpu_cell->x - 1u;
continue;
}
cell_font.scale = cpu_cell->scale; cell_font.subscale_n = cpu_cell->subscale_n; cell_font.subscale_d = cpu_cell->subscale_d;