TopBuffy = 0;
}
-/* compresses hierarchy in folder names;
- * FIXME move out to library?
- */
static char *shortened_hierarchy (char *box)
{
int dots = 0;
#if USE_IMAP
if (ImapHomeNamespace && mutt_strlen (ImapHomeNamespace) > 0) {
if (strncmp (box, ImapHomeNamespace, mutt_strlen (ImapHomeNamespace)) == 0
- && strcmp (box, ImapHomeNamespace) != 0) {
+ && mutt_strcmp (box, ImapHomeNamespace) != 0) {
box += mutt_strlen (ImapHomeNamespace) + 1;
}
}
}
}
else {
- if (Context && !strcmp (tmp->path, Context->path)) {
+ if (Context && !mutt_strcmp (tmp->path, Context->path)) {
printw ("%.*s", SidebarWidth - delim_len,
make_sidebar_entry (basename (tmp->path),
Context->msgcount, Context->unread,