{
int shortened = 0, lencnt = 0;
char no[STRING], entry[STRING];
- int l = m_strlen(ImapHomeNamespace);
int l_m = m_strlen(Maildir);
if (SidebarWidth > COLS)
m_strformat(no, len, SidebarWidth, SidebarNumberFormat, sidebar_number_format, idx, 0);
lencnt = m_strlen(no);
- if (l > 0 && m_strncmp(sbox, ImapHomeNamespace, l) == 0 &&
- m_strlen(sbox) > l)
- sbox += l + 1; /* we're trimming the ImapHomeNamespace, the "+ 1" is for the separator */
- else
if (l_m > 0 && m_strncmp(sbox, Maildir, l_m) == 0 &&
m_strlen(sbox) > l_m) {
sbox += l_m;