From 08221489fdf2a39523186efa5d7ad718dc7ab06b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 23 Feb 2022 07:59:41 +0530 Subject: [PATCH] Cleanup previous PR --- kitty/fonts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/fonts.c b/kitty/fonts.c index 921d983d3..940ee1e86 100644 --- a/kitty/fonts.c +++ b/kitty/fonts.c @@ -855,7 +855,7 @@ detect_spacer_strategy(hb_font_t *hbf, Font *font) { // If spacer_strategy is still default, check ### glyph to to confirm strategy // https://github.com/kovidgoyal/kitty/issues/4721 if (font->spacer_strategy == SPACERS_BEFORE) { - CPUCell cpu_cells[3] = {{.ch = '#'}, {.ch = '#'}, {.ch = '#'}}; + cpu_cells[0].ch = '#'; cpu_cells[1].ch = '#'; cpu_cells[2].ch = '#'; shape(cpu_cells, gpu_cells, arraysz(cpu_cells), hbf, font, false); if (G(num_glyphs) > 1) { glyph_index glyph_id = G(info)[G(num_glyphs) - 1].codepoint;