X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=sidebar.c;h=deecda69797d9624fef41aa52ee8c9f2ce146bf2;hp=5ce19220145b788ee29b7aff2c64dd5023e59475;hb=4761fa78a6dfc9437caa6e6e0aac806e50e01c83;hpb=93b012884de4ca5e1f2550f767d0b8680b9c0e9f diff --git a/sidebar.c b/sidebar.c index 5ce1922..deecda6 100644 --- a/sidebar.c +++ b/sidebar.c @@ -190,9 +190,7 @@ int make_sidebar_entry (char* box, int idx, size_t len) { int shortened = 0, lencnt = 0; char no[SHORT_STRING], entry[SHORT_STRING]; -#if USE_IMAP int l = m_strlen(ImapHomeNamespace); -#endif int l_m = m_strlen(Maildir); if (SidebarWidth > COLS) @@ -210,12 +208,10 @@ int make_sidebar_entry (char* box, int idx, size_t len) lencnt = m_strlen(no); memset(&entry, ' ', sizeof(entry)); -#if USE_IMAP 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 if (l_m > 0 && m_strncmp(box, Maildir, l_m) == 0 && m_strlen(box) > l_m) { box += l_m;