diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2020-10-12 10:28:46 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2020-10-12 10:28:46 +0000 |
commit | 95c85bb605dc863cb526adb409e5beaaf06f5e70 (patch) | |
tree | 440b2482ec6c67a3f871eaa75e1fe0bf4b6293b6 /mail/neomutt/files | |
parent | f3bae2b06fa3c5c32abd5f36a3b2cace4838e9dc (diff) | |
download | ports-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.c | 20 |
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; + } + |