From d9d6bd7ffb9c7b4b7c9755f607e197811f0ea77d Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 23 Nov 2023 17:25:37 +0530 Subject: [PATCH] ... --- kitty/charsets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/charsets.c b/kitty/charsets.c index 98c1e34e3..3be565d54 100644 --- a/kitty/charsets.c +++ b/kitty/charsets.c @@ -64,7 +64,7 @@ decode_utf8_string(const char *src, size_t sz, uint32_t *dest) { unsigned int encode_utf8(uint32_t ch, char* dest) { - if (ch < 0x80) { // only lower 7 bits cab be 1 + if (ch < 0x80) { // only lower 7 bits can be 1 dest[0] = (char)ch; // 0xxxxxxx return 1; }