X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/13affe66e42887bf256d91a719d8e25f51600136..8d8b8c1fcf4f786ba3afdf29f49c79c54ba352cc:/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 */ /*