avoid stupid conflicts with core libraries due to too common names for our libraries.
[apps/madmutt.git] / lib-ui / menu.c
index 79fe3ec..f509ae0 100644 (file)
@@ -142,10 +142,7 @@ static void menu_pad_string (char *s, size_t n)
   int cols;
   char *tmpbuf = p_new(char, n);
 
-  if (option (OPTMBOXPANE))
-    cols = COLS - shift - SidebarWidth;
-  else
-    cols = COLS - shift;
+  cols = COLS - SW - shift;
   mutt_format_string (tmpbuf, n, cols, cols, 0, ' ', s, m_strlen(s), 1);
   tmpbuf[n - 1] = 0;
   snprintf (s, n, "%s", tmpbuf);        /* overkill */