From f49e076cc0c225ee79152ad37b5b486be435e4e8 Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Thu, 21 Sep 2017 16:16:12 +1000 Subject: [PATCH] another fix for lastread reset --- bluewave.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bluewave.c b/bluewave.c index 84acf45..29c5fae 100644 --- a/bluewave.c +++ b/bluewave.c @@ -80,6 +80,8 @@ int bwave_scan_area(int confr, int area, int areano, int totmsgs, FILE *fti_file jlr.LastReadMsg = 0; jlr.HighReadMsg = 0; all_unread = 1; + } else if (jlr.LastReadMsg == 0 && jlr.HighReadMsg == 0) { + all_unread = 1; } }