diff mcabber/src/screen.c @ 252:cb7f944741e4

[/trunk] Changeset 265 by mikael * Don't send "too big" messages in multi-line mode * TODO & ChangeLog updates
author mikael
date Sat, 25 Jun 2005 08:43:24 +0000
parents 8e30b2bb380e
children 33e1a05864a6
line wrap: on
line diff
--- a/mcabber/src/screen.c	Sat Jun 25 08:40:00 2005 +0000
+++ b/mcabber/src/screen.c	Sat Jun 25 08:43:24 2005 +0000
@@ -1132,7 +1132,7 @@
   }
   if (multiline) {
     int len = strlen(multiline)+strlen(line)+2;
-    if (len >= HBB_BLOCKSIZE) {
+    if (len >= HBB_BLOCKSIZE - 1) {
       // We don't handle single messages with size > HBB_BLOCKSIZE
       // (see hbuf)
       scr_LogPrint("Your multi-line message is too big, this line has "