From f5b136ae218e06ec3b2c1ffc4614d2f50f42c63b Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Tue, 27 Feb 2018 21:59:04 +1000 Subject: [PATCH] wordwrap sucks --- src/www_msgs.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/www_msgs.c b/src/www_msgs.c index 22f0fc8..b68930d 100644 --- a/src/www_msgs.c +++ b/src/www_msgs.c @@ -710,8 +710,18 @@ static char *www_wordwrap(char *content, int cutoff) { if (ret == NULL) { return NULL; } + + for (i=0;i