From: Art Cancro Date: Thu, 30 Sep 2004 03:44:01 +0000 (+0000) Subject: * fix line width break problem in chat X-Git-Tag: v7.86~5236 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=69623250a211c6002ca4f5ae670a75442b124194;p=citadel.git * fix line width break problem in chat --- diff --git a/webcit/ChangeLog b/webcit/ChangeLog index 17923430a..ef151dfb9 100644 --- a/webcit/ChangeLog +++ b/webcit/ChangeLog @@ -1,4 +1,7 @@ $Log$ +Revision 524.1 2004/09/30 03:44:01 ajc +* fix line width break problem in chat + Revision 524.0 2004/09/28 16:12:44 ajc * THIS IS 5.24 @@ -2080,3 +2083,4 @@ Sun Dec 6 19:50:55 EST 1998 Art Cancro 1998-12-03 Nathan Bryant * webserver.c: warning fix + diff --git a/webcit/paging.c b/webcit/paging.c index be11aad49..6730bab50 100644 --- a/webcit/paging.c +++ b/webcit/paging.c @@ -446,12 +446,12 @@ void chat_send(void) { WC->chat_sock = i; while (strlen(send_this) > 0) { - if (strlen(send_this) < 72) { + if (strlen(send_this) < 67) { serv_puts(send_this); strcpy(send_this, ""); } else { - for (i=60; i<72; ++i) { + for (i=55; i<67; ++i) { if (send_this[i] == ' ') break; } strncpy(buf, send_this, i);