From 676c18f40a8206574872dd81cf3bfce6c14a49fd Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Fri, 8 Dec 2017 02:05:43 +0000 Subject: [PATCH] Adjustment to change introduced in rev1.67: When displaying message body text, skip all initial ocurrences of CR or LF (rather than all initial white-space). Some people use white-space for centering or justifying blocks of text and we don't want to mess up the presentation of their messages. --- src/sbbs3/getmsg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sbbs3/getmsg.cpp b/src/sbbs3/getmsg.cpp index bb9db689f0..cb716eb964 100644 --- a/src/sbbs3/getmsg.cpp +++ b/src/sbbs3/getmsg.cpp @@ -262,7 +262,7 @@ void sbbs_t::show_msg(smbmsg_t* msg, long mode, post_t* post) bputs(text[MIMEDecodedPlainText]); } truncsp(p); - SKIP_WHITESPACE(p); + SKIP_CRLF(p); putmsg(p, mode); smb_freemsgtxt(txt); if(column) -- GitLab