diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2007-10-12 01:06:50 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2007-10-12 01:06:50 +0100 |
commit | d444c09e6c7ac6fc3c1686af0e63c09805d8cd00 (patch) | |
tree | b567c3ee431a72ed68713f023c977781f10e23cb /lib/misc.h | |
parent | 285b55d3b38d6e1c8b3fc4a64945f2bb9ace07f4 (diff) |
Added word_wrap() function to misc.c and using it at the right places so
that long messages in groupchats also get wrapped properly (instead of
truncated).
Diffstat (limited to 'lib/misc.h')
-rw-r--r-- | lib/misc.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -63,4 +63,6 @@ G_MODULE_EXPORT int bool2int( char *value ); G_MODULE_EXPORT struct ns_srv_reply *srv_lookup( char *service, char *protocol, char *domain ); +G_MODULE_EXPORT char *word_wrap( char *msg, int line_len ); + #endif |