From: Luke Macken Date: Tue, 10 Apr 2012 15:25:31 +0000 (-0400) Subject: fix a bug with processing mailboxes when they are all virtual. X-Git-Tag: neomutt-20160404~13^2~74 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9e3f5cd99601ceb2673e5b33f64f40bc3eb51317;p=neomutt fix a bug with processing mailboxes when they are all virtual. This bug occurs when there are only virtual mailboxes defined. Prior to this change, the sidebar descriptions of the virtual mailboxes would be displayed as the notmuch query itself, as opposed to the user-defined description. --- diff --git a/buffy.c b/buffy.c index 08a7b0879..1e8742d58 100644 --- a/buffy.c +++ b/buffy.c @@ -703,9 +703,10 @@ int mutt_buffy_check (int force) #ifdef USE_NOTMUCH if (!Incoming && !VirtIncoming) return 0; -#endif +#else if (!Incoming) return 0; +#endif t = time (NULL); if (!force && (t - BuffyTime < BuffyTimeout)) return BuffyCount;