From 6d929966610450ae23d372d0035686e686abc64d Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 13 May 2019 21:13:45 +0530 Subject: [PATCH] make comment more helpful --- kitty/fonts.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kitty/fonts.c b/kitty/fonts.c index ee9b01042..0df8dfa38 100644 --- a/kitty/fonts.c +++ b/kitty/fonts.c @@ -806,7 +806,8 @@ check_cell_consumed(CellData *cell_data, CPUCell *last_cpu_cell) { break; default: { index_type mark = cell_data->cpu_cell->cc_idx[cell_data->codepoints_consumed - 1]; - // VS15 causes rendering to break, so map it to 0 + // VS15/16 cause rendering to break, as they get marked as + // special glyphs, so map to 0, to avoid that cell_data->current_codepoint = (mark == VS15 || mark == VS16) ? 0 : codepoint_for_mark(mark); break; }