fix unreadcount again

This commit is contained in:
Andrew Pamment 2018-02-23 14:34:42 +10:00
parent 4e195fe0e3
commit 94d6b3396a

View File

@ -3212,6 +3212,7 @@ void do_mail_scan(struct user_record *user, int oldscan, int personal) {
}
unread_count++;
}
if (unread_count > 0) {
s_printf("\e[2J\e[1;1H");
s_printf(get_string(277), i, conf.mail_conferences[i]->name);
s_printf(get_string(278), j, conf.mail_conferences[i]->mail_areas[j]->name, unread_count);
@ -3232,6 +3233,7 @@ void do_mail_scan(struct user_record *user, int oldscan, int personal) {
user->cur_mail_area = orig_area;
}
}
}
free_message_headers(msghs);
}
}