mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-28 04:13:44 +00:00
...
This commit is contained in:
parent
e45697f78a
commit
251667a30e
1 changed files with 2 additions and 4 deletions
|
|
@ -662,10 +662,8 @@ draw_codepoint(Screen *self, char_type och, bool from_input_stream) {
|
|||
CALLBACK("on_activity_since_last_focus", NULL);
|
||||
}
|
||||
uint32_t ch = och < 256 ? self->g_charset[och] : och;
|
||||
bool is_cc = is_combining_char(ch);
|
||||
if (UNLIKELY(is_cc)) {
|
||||
bool is_flag = is_flag_codepoint(ch);
|
||||
if (UNLIKELY(is_flag)) {
|
||||
if (UNLIKELY(is_combining_char(ch))) {
|
||||
if (UNLIKELY(is_flag_codepoint(ch))) {
|
||||
if (draw_second_flag_codepoint(self, ch)) return;
|
||||
} else {
|
||||
draw_combining_char(self, ch);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue