From 4e195fe0e385a9f8425e708c99bfd1e50a69580e Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Fri, 23 Feb 2018 14:31:31 +1000 Subject: [PATCH] fix unread count --- src/mail_menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mail_menu.c b/src/mail_menu.c index eddea47..0836fb2 100644 --- a/src/mail_menu.c +++ b/src/mail_menu.c @@ -3157,7 +3157,7 @@ void do_mail_scan(struct user_record *user, int oldscan, int personal) { } unread_count++; } - if (msghs->msgs[msghs->msg_count-1]->msg_no > jlr.HighReadMsg) { + if (unread_count > 0) { if (oldscan) { s_printf(get_string(141), j, conf.mail_conferences[i]->mail_areas[j]->name, unread_count); lines++;