* fix line width break problem in chat
authorArt Cancro <ajc@citadel.org>
Thu, 30 Sep 2004 03:44:01 +0000 (03:44 +0000)
committerArt Cancro <ajc@citadel.org>
Thu, 30 Sep 2004 03:44:01 +0000 (03:44 +0000)
webcit/ChangeLog
webcit/paging.c

index 17923430acdf0e58fc637a7e81814c49942e47af..ef151dfb926ae55a3d1664ec61356a9db8ab8d5b 100644 (file)
@@ -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 <ajc@uncnsrd.mt-kisco.ny.us>
 
 1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
        * webserver.c: warning fix
+
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);