Fix for random crap at the end of messages

commit changes to STRINGS.CHANGES I must have forgot to commit
This commit is contained in:
Andrew Pamment 2018-10-14 22:27:27 +10:00
parent b500a450dd
commit 0b9bdd77d5
2 changed files with 9 additions and 1 deletions

View File

@ -4,6 +4,14 @@ If you are using your own custom strings file, you will need
to add / modify the new string on the line specified. Be sure to add / modify the new string on the line specified. Be sure
to remove the start and end quotation marks. to remove the start and end quotation marks.
Changes from v0.11-alpha -> v0.12-alpha
--------------------------------------------------------------
LINE 127 MODIFIED
OLDSTRING: "\e[2J\e[1;1H\e[1;37;44m[MSG#] Subject From To Date \r\n\e[0m"
NEWSTRING: "\e[1;37;44m[MSG#] Subject From To Date \r\n\e[0m"
Changes from v0.10-alpha -> v0.11-alpha Changes from v0.10-alpha -> v0.11-alpha
-------------------------------------------------------------- --------------------------------------------------------------

View File

@ -531,7 +531,7 @@ char *external_editor(struct user_record *user, char *to, char *from, char *quot
if (body[i] == '\n') { if (body[i] == '\n') {
continue; continue;
} else if (body[i] == '\0') { } else if (body[i] == '\0') {
continue; break;
} }
body2[j++] = body[i]; body2[j++] = body[i];
body2[j] = '\0'; body2[j] = '\0';