unicode-combining: completely remove unicode combining characters when feature is disabled

This commit is contained in:
Daniel Eklöf 2020-05-01 12:05:38 +02:00
parent 66e5abdda3
commit 3474624c2c
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 26 additions and 2 deletions

View file

@ -77,16 +77,21 @@ struct damage {
int lines;
};
#if FOOT_UNICODE_COMBINING
struct combining_chars {
uint8_t count;
wchar_t chars[2]; /* TODO: how many do we need? */
};
#endif
struct row {
struct cell *cells;
bool dirty;
bool linebreak;
#if FOOT_UNICODE_COMBINING
struct combining_chars *comb_chars;
#endif
};
struct sixel {