From b5bc6d688da63c7687123e887b546582c108dcac Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Thu, 21 Sep 2017 16:13:17 +1000 Subject: [PATCH] Fix? Maybe. --- mail_menu.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mail_menu.c b/mail_menu.c index 928e20b..563a402 100644 --- a/mail_menu.c +++ b/mail_menu.c @@ -1922,6 +1922,8 @@ void read_mail(struct user_record *user) { jlr.LastReadMsg = 0; jlr.HighReadMsg = 0; all_unread = 1; + } else if (jlr.LastReadMsg == 0 && jlr.HighReadMsg == 0) { + all_unread = 1; } JAM_CloseMB(jb); s_printf(get_string(120), msghs->msg_count); @@ -2237,6 +2239,8 @@ void list_messages(struct user_record *user) { jlr.LastReadMsg = 0; jlr.HighReadMsg = 0; all_unread = 1; + } else if (jlr.LastReadMsg == 0 && jlr.HighReadMsg == 0) { + all_unread = 1; } JAM_CloseMB(jb); s_printf(get_string(125), msghs->msg_count);