remove yet anoter round of str_* functions, replaced with their inlineable
[apps/madmutt.git] / sidebar.c
index f86597c..ab95a22 100644 (file)
--- a/sidebar.c
+++ b/sidebar.c
@@ -211,12 +211,12 @@ int make_sidebar_entry (char* box, int idx, size_t len)
   memset(&entry, ' ', sizeof(entry));
 
 #if USE_IMAP
   memset(&entry, ' ', sizeof(entry));
 
 #if USE_IMAP
-  if (l > 0 && str_ncmp (box, ImapHomeNamespace, l) == 0 && 
+  if (l > 0 && m_strncmp(box, ImapHomeNamespace, l) == 0 && 
       m_strlen(box) > l)
     box += l + 1; /* we're trimming the ImapHomeNamespace, the "+ 1" is for the separator */
   else
 #endif
       m_strlen(box) > l)
     box += l + 1; /* we're trimming the ImapHomeNamespace, the "+ 1" is for the separator */
   else
 #endif
-  if (l_m > 0 && str_ncmp (box, Maildir, l_m) == 0 && 
+  if (l_m > 0 && m_strncmp(box, Maildir, l_m) == 0 && 
       m_strlen(box) > l_m) {
     box += l_m;
     if (Maildir[strlen(Maildir)-1]!='/') {
       m_strlen(box) > l_m) {
     box += l_m;
     if (Maildir[strlen(Maildir)-1]!='/') {