From c5680e2ea45c468b96e8cb9ae8c87831d047133c Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Mon, 8 Jul 2019 01:43:03 +0000 Subject: [PATCH] Treat the "Conditional line-break" Ctrl-A code as the end of a word. --- src/sbbs3/wordwrap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sbbs3/wordwrap.c b/src/sbbs3/wordwrap.c index 756bf08778..45b26bf0c1 100644 --- a/src/sbbs3/wordwrap.c +++ b/src/sbbs3/wordwrap.c @@ -247,6 +247,8 @@ static struct section_len get_word_len(char *buf, int maxlen) continue; else if (buf[ret.bytes]=='\x01') { ret.bytes++; + if (buf[ret.bytes] == '\\') + break; if(buf[ret.bytes]!='\x01') continue; } -- GitLab