87065d4513c81b69b6d4612f8c02319ddb82e05d — Pietro Cerutti 2 months ago 97ca136
Revert "Revert "browser: fix directory view""

This reverts commit 450d4b0ec0648832e6497616ac8bb34c2cea291e.

I don't know what was broken by this fix, but this fix is definitely
needed. I'll handle the fallout separately.

Fixes #2042
1 files changed, 1 insertions(+), 1 deletions(-)

M browser.c
M browser.c => browser.c +1 -1
@@ 801,7 801,7 @@ struct MailboxNode *np = NULL;
        STAILQ_FOREACH(np, &ml, entries)
        {
-         if (mutt_str_strcmp(mutt_b2s(buf), mailbox_path(np->mailbox)) != 0)
+         if (mutt_str_strcmp(mutt_b2s(buf), mailbox_path(np->mailbox)) == 0)
            break;
        }