]> granicus.if.org Git - neomutt/commitdiff
fix Sidebar width problem
authorRichard Russon <rich@flatcap.org>
Tue, 5 Jul 2016 11:05:34 +0000 (12:05 +0100)
committerRichard Russon <rich@flatcap.org>
Tue, 5 Jul 2016 11:05:34 +0000 (12:05 +0100)
sidebar.c

index 720911b98b7186c0b2f13b3652607cb5d13251e6..841f4f98e907d58bc8e80a05ffc674b0757fecf3 100644 (file)
--- a/sidebar.c
+++ b/sidebar.c
@@ -216,7 +216,7 @@ static void make_sidebar_entry (char *buf, unsigned int buflen, int width, char
 
   strfcpy (sbe->box, box, sizeof (sbe->box));
 
-  mutt_FormatString (buf, buflen, 0, width + SidebarWidth, NONULL(SidebarFormat), cb_format_str, (unsigned long) sbe, 0);
+  mutt_FormatString (buf, buflen, 0, width, NONULL(SidebarFormat), cb_format_str, (unsigned long) sbe, 0);
 
   /* Force string to be exactly the right width */
   int w = mutt_strwidth (buf);