This commit is contained in:
Kovid Goyal 2023-11-23 17:25:37 +05:30
parent 21bba05805
commit d9d6bd7ffb
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

2
kitty/charsets.c generated
View file

@ -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;
}