mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
vt: tag collision-count check with ‘unlikely’
This commit is contained in:
parent
fbcb30bf98
commit
9dc4f48e7a
1 changed files with 1 additions and 1 deletions
2
vt.c
2
vt.c
|
|
@ -753,7 +753,7 @@ action_utf8_print(struct terminal *term, char32_t wc)
|
|||
|
||||
/* Look for existing combining chain */
|
||||
while (true) {
|
||||
if (collision_count > 128) {
|
||||
if (unlikely(collision_count > 128)) {
|
||||
static bool have_warned = false;
|
||||
if (!have_warned) {
|
||||
have_warned = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue