From 8ff892cb0bc5e0bcd3d8d839975fd94f70e03813 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Tue, 15 Jan 2019 21:22:33 +0000 Subject: [PATCH] Internal message editor needs to recount the lines when saving. This is the likely cause of missing lines or "Aborted" messages upon saving with the internal editor. --- src/sbbs3/writemsg.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sbbs3/writemsg.cpp b/src/sbbs3/writemsg.cpp index 04b20b770a..ca98cc3f6f 100644 --- a/src/sbbs3/writemsg.cpp +++ b/src/sbbs3/writemsg.cpp @@ -1016,6 +1016,7 @@ ulong sbbs_t::msgeditor(char *buf, const char *top, char *title) strcpy(buf,top); else buf[0]=0; + lines = strListCount(str); for(i=0;i<lines;i++) { strcat(buf,str[i]); strcat(buf,crlf); -- GitLab