mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-25 09:48:09 +02:00
Merge branch 'remove-extra-space' of https://github.com/Luflosi/kitty
This commit is contained in:
@@ -2446,7 +2446,7 @@ START_ALLOW_CASE_RANGE
|
|||||||
END_ALLOW_CASE_RANGE
|
END_ALLOW_CASE_RANGE
|
||||||
}
|
}
|
||||||
if (utf_16_key != 0) {
|
if (utf_16_key != 0) {
|
||||||
strncpy(cocoa_key, [[NSString stringWithCharacters:&utf_16_key length:1] UTF8String], key_sz - 1);
|
strncpy(cocoa_key, [[NSString stringWithCharacters:&utf_16_key length:1] UTF8String], key_sz - 1);
|
||||||
} else {
|
} else {
|
||||||
unsigned str_pos = 0;
|
unsigned str_pos = 0;
|
||||||
for (unsigned i = 0; i < 4 && str_pos < key_sz - 1; i++) {
|
for (unsigned i = 0; i < 4 && str_pos < key_sz - 1; i++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user