chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
test and corrections for utf32_is_word_boundary()
[disorder]
/
lib
/
charset.h
diff --git
a/lib/charset.h
b/lib/charset.h
index b172b76f745af0c0f99ff644ad0b0942b45a5ef8..70b5b2f40d68baa141e1f73497a87ddc6c5f92d6 100644
(file)
--- a/
lib/charset.h
+++ b/
lib/charset.h
@@
-66,6
+66,8
@@
static inline char *nullcheck(char *s) {
int ucs4cmp(const uint32_t *a, const uint32_t *b);
/* like strcmp */
+const char *truncate_for_display(const char *s, long max);
+
#endif /* CHARSET_H */
/*