meson: don't generate pre-compose table when -Dunicode-precompose=false

This commit is contained in:
Daniel Eklöf 2020-05-02 18:43:13 +02:00
parent d8ebed0ee0
commit 804642580e
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 12 additions and 6 deletions

2
vt.c
View file

@ -527,6 +527,7 @@ action_utf8_4_entry(struct terminal *term, uint8_t c)
term->vt.utf8.data[term->vt.utf8.idx++] = c;
}
#if FOOT_UNICODE_PRECOMPOSE
static wchar_t
precompose(wchar_t base, wchar_t comb)
{
@ -554,6 +555,7 @@ precompose(wchar_t base, wchar_t comb)
return (wchar_t)-1;
}
#endif
static void
action_utf8_print(struct terminal *term, uint8_t c)