diff --git a/src/sbbs3/wordwrap.c b/src/sbbs3/wordwrap.c index 3c64df1aa2e979c29853b82cf0e86f0fd327811b..01143ead2f03266b760a75eac641b8d396de0dfd 100644 --- a/src/sbbs3/wordwrap.c +++ b/src/sbbs3/wordwrap.c @@ -363,7 +363,7 @@ char* wordwrap(char* inbuf, int len, int oldlen, BOOL handle_quotes) if(icol < oldlen) { /* If this line is overly long, It's impossible for the next word to fit */ /* k will equal the length of the first word on the next line */ k = get_word_len(inbuf, i+1); - if(icol+k+1 < oldlen) { /* The next word would have fit but isn't here. Must be a hard CR */ + if(icol+k < oldlen) { /* The next word would have fit but isn't here. Must be a hard CR */ linebuf[l++]='\r'; linebuf[l++]='\n'; outbuf_append(&outbuf, &outp, linebuf, l, &outbuf_size);