tmp->msg_unread = Context->unread;
}
+ strfcpy (buffer, NONULL (tmp->path), sizeof (buffer));
+ mutt_pretty_mailbox (buffer, sizeof (buffer));
+
#ifdef USE_IMAP
if (mx_is_imap (tmp->path))
{
- add_folder (menu, state, tmp->path, NULL, tmp);
+ add_folder (menu, state, buffer, NULL, tmp);
continue;
}
#endif
#ifdef USE_POP
if (mx_is_pop (tmp->path))
{
- add_folder (menu, state, tmp->path, NULL, tmp);
+ add_folder (menu, state, buffer, NULL, tmp);
continue;
}
#endif
s.st_mtime = st2.st_mtime;
}
- strfcpy (buffer, NONULL(tmp->path), sizeof (buffer));
- mutt_pretty_mailbox (buffer, sizeof (buffer));
-
add_folder (menu, state, buffer, &s, tmp);
}
while ((tmp = tmp->next));