...
This commit is contained in:
parent
e45697f78a
commit
251667a30e
@ -662,10 +662,8 @@ draw_codepoint(Screen *self, char_type och, bool from_input_stream) {
|
|||||||
CALLBACK("on_activity_since_last_focus", NULL);
|
CALLBACK("on_activity_since_last_focus", NULL);
|
||||||
}
|
}
|
||||||
uint32_t ch = och < 256 ? self->g_charset[och] : och;
|
uint32_t ch = och < 256 ? self->g_charset[och] : och;
|
||||||
bool is_cc = is_combining_char(ch);
|
if (UNLIKELY(is_combining_char(ch))) {
|
||||||
if (UNLIKELY(is_cc)) {
|
if (UNLIKELY(is_flag_codepoint(ch))) {
|
||||||
bool is_flag = is_flag_codepoint(ch);
|
|
||||||
if (UNLIKELY(is_flag)) {
|
|
||||||
if (draw_second_flag_codepoint(self, ch)) return;
|
if (draw_second_flag_codepoint(self, ch)) return;
|
||||||
} else {
|
} else {
|
||||||
draw_combining_char(self, ch);
|
draw_combining_char(self, ch);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user