From 795be14ed5b300306d9df7532357ad81ec09233a Mon Sep 17 00:00:00 2001 From: deuce <> Date: Mon, 27 Apr 2015 00:38:47 +0000 Subject: [PATCH] Reset icol on any LF, not just "hard CRs". This should fix the problems seen by access_d. Broken since v1.18 on Feb. 10th, 2015. --- src/sbbs3/wordwrap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sbbs3/wordwrap.c b/src/sbbs3/wordwrap.c index 168d554a83..3c64df1aa2 100644 --- a/src/sbbs3/wordwrap.c +++ b/src/sbbs3/wordwrap.c @@ -388,6 +388,7 @@ char* wordwrap(char* inbuf, int len, int oldlen, BOOL handle_quotes) } } } + icol=prefix_len+1; /* Fall-through soft CRs for wrapping! */ default: if (inbuf[i] != '\n') { -- GitLab