diff options
Diffstat (limited to 'src/fe-common/core/utf8.h')
-rw-r--r-- | src/fe-common/core/utf8.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fe-common/core/utf8.h b/src/fe-common/core/utf8.h index 9454f77d..067a9df7 100644 --- a/src/fe-common/core/utf8.h +++ b/src/fe-common/core/utf8.h @@ -32,4 +32,6 @@ void utf16_to_utf8_with_pos(const unichar *str, int spos, char *out, int *opos); /* Returns width for character (0-2). */ int mk_wcwidth(unichar c); +#define unichar_isprint(c) (((c) & ~0x80) >= 32) + #endif |