summaryrefslogtreecommitdiff
path: root/src/fe-common
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@0x90.dk>2014-06-18 22:53:01 +0200
committerAlexander Færøy <ahf@0x90.dk>2014-06-18 22:53:01 +0200
commit8c08eef87a6642b8cf7b7a23a0bc15cd3c896033 (patch)
tree63fe9cd019e5673d24c98de93e1a4890b35ecb80 /src/fe-common
parent3212ef2bdb7011bd0c5a62ff2eced5a1d9e19a46 (diff)
parentfc4a4d24718f92542e4c606d3f3ff2cf81e8f5e3 (diff)
downloadirssi-8c08eef87a6642b8cf7b7a23a0bc15cd3c896033.zip
Merge pull request #12 from ailin-nemui/no-split-utf8
no split utf8 from the bug tracker
Diffstat (limited to 'src/fe-common')
-rw-r--r--src/fe-common/core/utf8.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fe-common/core/utf8.h b/src/fe-common/core/utf8.h
index 163f1717..3c15dc7d 100644
--- a/src/fe-common/core/utf8.h
+++ b/src/fe-common/core/utf8.h
@@ -12,5 +12,6 @@
int mk_wcwidth(unichar c);
#define unichar_isprint(c) (((c) & ~0x80) >= 32)
+#define is_utf8_leading(c) (((c) & 0xc0) != 0x80)
#endif