aboutsummaryrefslogtreecommitdiff
path: root/mail/neomutt/files
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2020-10-12 10:28:46 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2020-10-12 10:28:46 +0000
commit95c85bb605dc863cb526adb409e5beaaf06f5e70 (patch)
tree440b2482ec6c67a3f871eaa75e1fe0bf4b6293b6 /mail/neomutt/files
parentf3bae2b06fa3c5c32abd5f36a3b2cace4838e9dc (diff)
downloadports-95c85bb605dc863cb526adb409e5beaaf06f5e70.tar.gz
ports-95c85bb605dc863cb526adb409e5beaaf06f5e70.zip
incorporate a side fix from upstream
PR: 250097 Submitted by: Michael Bueker <m.bueker@berlin.de>
Notes
Notes: svn path=/head/; revision=552116
Diffstat (limited to 'mail/neomutt/files')
-rw-r--r--mail/neomutt/files/patch-sidebar_functions.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/mail/neomutt/files/patch-sidebar_functions.c b/mail/neomutt/files/patch-sidebar_functions.c
new file mode 100644
index 000000000000..590c88b6f8ef
--- /dev/null
+++ b/mail/neomutt/files/patch-sidebar_functions.c
@@ -0,0 +1,20 @@
+--- sidebar/functions.c.orig 2020-10-04 15:20:02 UTC
++++ sidebar/functions.c
+@@ -72,7 +72,7 @@ static struct SbEntry **next_new(struct
+ struct SbEntry **sbep = NULL;
+ ARRAY_FOREACH_FROM_TO(sbep, &wdata->entries, begin, end)
+ {
+- if ((*sbep)->mailbox->has_new && (*sbep)->mailbox->msg_unread != 0)
++ if ((*sbep)->mailbox->has_new || (*sbep)->mailbox->msg_unread != 0)
+ return sbep;
+ }
+ return NULL;
+@@ -143,7 +143,7 @@ static struct SbEntry **prev_new(struct
+ struct SbEntry **sbep = NULL, **prev = NULL;
+ ARRAY_FOREACH_FROM_TO(sbep, &wdata->entries, begin, end)
+ {
+- if ((*sbep)->mailbox->has_new && (*sbep)->mailbox->msg_unread != 0)
++ if ((*sbep)->mailbox->has_new || (*sbep)->mailbox->msg_unread != 0)
+ prev = sbep;
+ }
+