still working on this

This commit is contained in:
Andrew Pamment 2018-02-23 14:43:26 +10:00
parent 94d6b3396a
commit ac4c525415

View File

@ -3152,7 +3152,7 @@ void do_mail_scan(struct user_record *user, int oldscan, int personal) {
unread_count = 0; unread_count = 0;
for (k=msghs->msg_count-1;k>=0;k--) { for (k=msghs->msg_count-1;k>=0;k--) {
if (msghs->msgs[k]->msg_no <= jlr.HighReadMsg) { if (msghs->msgs[k]->msg_no < jlr.HighReadMsg) {
break; break;
} }
unread_count++; unread_count++;
@ -3207,7 +3207,7 @@ void do_mail_scan(struct user_record *user, int oldscan, int personal) {
unread_count = 0; unread_count = 0;
for (k=msghs->msg_count-1;k>=0;k--) { for (k=msghs->msg_count-1;k>=0;k--) {
if (msghs->msgs[k]->msg_no <= jlr.HighReadMsg) { if (msghs->msgs[k]->msg_no < jlr.HighReadMsg) {
break; break;
} }
unread_count++; unread_count++;