From 0285f5a1adc369843bb3c5ef48adaa264eb8722c Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 17 Feb 2020 16:24:40 +0530 Subject: [PATCH] oops --- kitty/fonts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/fonts.c b/kitty/fonts.c index 7bc7b91a7..54e697665 100644 --- a/kitty/fonts.c +++ b/kitty/fonts.c @@ -484,7 +484,7 @@ has_cell_text(Font *self, CPUCell *cell) { if (num_cc == 1) { if (face_has_codepoint(self->face, combining_chars[0])) return true; char_type ch = 0; - if (hb_unicode_compose(hb_unicode_funcs_get_default(), ch, combining_chars[0], &ch) && face_has_codepoint(self->face, ch)) return true; + if (hb_unicode_compose(hb_unicode_funcs_get_default(), cell->ch, combining_chars[0], &ch) && face_has_codepoint(self->face, ch)) return true; return false; } for (unsigned i = 0; i < num_cc; i++) {