X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/13affe66e42887bf256d91a719d8e25f51600136..aa8964354bc97cfdc7b6d51e560b9c0aacfd7243:/lib/charset.h diff --git a/lib/charset.h b/lib/charset.h index b172b76..70b5b2f 100644 --- 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 */ /*