From 0b9bdd77d58d88977ed093443b2028f12a2bcf1e Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Sun, 14 Oct 2018 22:27:27 +1000 Subject: [PATCH] Fix for random crap at the end of messages commit changes to STRINGS.CHANGES I must have forgot to commit --- STRINGS.CHANGES | 8 ++++++++ src/mail_menu.c | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/STRINGS.CHANGES b/STRINGS.CHANGES index 6f11691..415cdf5 100644 --- a/STRINGS.CHANGES +++ b/STRINGS.CHANGES @@ -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 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 -------------------------------------------------------------- diff --git a/src/mail_menu.c b/src/mail_menu.c index 041bf00..9e623a4 100644 --- a/src/mail_menu.c +++ b/src/mail_menu.c @@ -531,7 +531,7 @@ char *external_editor(struct user_record *user, char *to, char *from, char *quot if (body[i] == '\n') { continue; } else if (body[i] == '\0') { - continue; + break; } body2[j++] = body[i]; body2[j] = '\0';