X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=sidebar.c;h=c352913b345261e7b73b2970f400bee29b671507;hp=fe7ba8918229a9c9464826cf0d346abc6ecc6327;hb=1fb9b0f4797559d8269d2dd012f005af7f5e560b;hpb=f422bddfe7468c3f36388a8830c832c01841eabc diff --git a/sidebar.c b/sidebar.c index fe7ba89..c352913 100644 --- a/sidebar.c +++ b/sidebar.c @@ -117,7 +117,7 @@ char *make_sidebar_entry (char *box, int size, int new, int flagged) #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; } } @@ -311,7 +311,7 @@ int sidebar_draw (int menu) } } 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,