View | Details | Raw Unified | Return to bug 250097
Collapse All | Expand All

(-)files/patch-sidebar_functions.c (working copy) (+20 lines)
Line 0 Link Here
1
--- sidebar/functions.c.orig   2020-10-04 15:20:02 UTC
2
+++ sidebar/functions.c
3
@@ -72,7 +72,7 @@ static struct SbEntry **next_new(struct 
4
   struct SbEntry **sbep = NULL;
5
   ARRAY_FOREACH_FROM_TO(sbep, &wdata->entries, begin, end)
6
   {
7
-    if ((*sbep)->mailbox->has_new && (*sbep)->mailbox->msg_unread != 0)
8
+    if ((*sbep)->mailbox->has_new || (*sbep)->mailbox->msg_unread != 0)
9
       return sbep;
10
   }
11
   return NULL;
12
@@ -143,7 +143,7 @@ static struct SbEntry **prev_new(struct 
13
   struct SbEntry **sbep = NULL, **prev = NULL;
14
   ARRAY_FOREACH_FROM_TO(sbep, &wdata->entries, begin, end)
15
   {
16
-    if ((*sbep)->mailbox->has_new && (*sbep)->mailbox->msg_unread != 0)
17
+    if ((*sbep)->mailbox->has_new || (*sbep)->mailbox->msg_unread != 0)
18
       prev = sbep;
19
   }
20
 

Return to bug 250097