diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2022-06-13 11:16:58 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2022-06-15 17:25:00 +0000 |
| commit | 9dc4f48e7a00a2c59f955a4a6cab57ce68a01e4c (patch) | |
| tree | f739d3ae9bc27f4a34c89fc01ab7df7b1ac7e0c1 /vt.c | |
| parent | vt: improve key calculation for compose sequences (diff) | |
vt: tag collision-count check with ‘unlikely’
Diffstat (limited to 'vt.c')
| -rw-r--r-- | vt.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |
