diff --git a/src/sbbs3/putmsg.cpp b/src/sbbs3/putmsg.cpp index dd72881f90a7a92eaaed06454f4181aebe194be5..d709e8fd09f51b079dc6d8626b639458cd30beb0 100644 --- a/src/sbbs3/putmsg.cpp +++ b/src/sbbs3/putmsg.cpp @@ -8,7 +8,7 @@ * @format.tab-size 4 (Plain Text/Source Code File Header) * * @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) * * * - * Copyright 2010 Rob Swindell - http://www.synchro.net/copyright.html * + * Copyright 2011 Rob Swindell - http://www.synchro.net/copyright.html * * * * This program is free software; you can redistribute it and/or * * modify it under the terms of the GNU General Public License * @@ -67,7 +67,7 @@ char sbbs_t::putmsg(const char *buf, long mode) putcom("\x02\x02"); if(mode&P_WORDWRAP) { char *wrapped; - if((wrapped=::wordwrap((char*)buf, cols-4, cols-1, WORDWRAP_FLAG_QUOTES)) == NULL) + if((wrapped=::wordwrap((char*)buf, cols-1, 79, WORDWRAP_FLAG_QUOTES)) == NULL) errormsg(WHERE,ERR_ALLOC,"wordwrap buffer",0); else str=wrapped;