]> code.citadel.org Git - citadel.git/blobdiff - webcit/paging.c
* fix line width break problem in chat
[citadel.git] / webcit / paging.c
index be11aad49e09c982929516f0d49b35581a5e9313..6730bab50a6589407772bb45f86b6a6b875fd56b 100644 (file)
@@ -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);