fix wrong email header

This commit is contained in:
Andrew Pamment 2018-10-23 15:37:06 +10:00
parent 8583ab6737
commit 60b7d0d874
2 changed files with 5 additions and 1 deletions

View File

@ -12,6 +12,10 @@ LINE 127 MODIFIED
OLDSTRING: "\e[2J\e[1;1H\e[1;37;44m[MSG#] Subject From To Date \r\n\e[0m" 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" NEWSTRING: "\e[1;37;44m[MSG#] Subject From To Date \r\n\e[0m"
LINE 64 MODIFIED
OLDSTRING: "\e[2J\e[1;1H\e[1;37;44m[MSG#] Subject From Date \r\n\e[0m"
NEWSTRING: "\e[1;37;44m[MSG#] Subject From Date \r\n\e[0m"
Changes from v0.10-alpha -> v0.11-alpha Changes from v0.10-alpha -> v0.11-alpha
-------------------------------------------------------------- --------------------------------------------------------------

View File

@ -423,7 +423,7 @@ void list_emails(struct user_record *user) {
while (!closed) { while (!closed) {
if (redraw) { if (redraw) {
s_printf("\e[2J\e[1;1H"); s_printf("\e[2J\e[1;1H");
s_printf(get_string(126)); s_printf(get_string(63));
for (i = start; i < start + 22 && i < email_count; i++) { for (i = start; i < start + 22 && i < email_count; i++) {
localtime_r((time_t *)&emails[i]->date, &msg_date); localtime_r((time_t *)&emails[i]->date, &msg_date);
if (i == position) { if (i == position) {