Rocco Rutte:
authorpdmef <pdmef@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Sat, 16 Jul 2005 10:41:23 +0000 (10:41 +0000)
committerpdmef <pdmef@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Sat, 16 Jul 2005 10:41:23 +0000 (10:41 +0000)
- don't "buff_next" if you ignore the effect anyways (sidebar_open already provides the complete folder name) (patch by Lars Ellenberg <l.g.e@web.de>)

git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@326 e385b8ad-14ed-0310-8656-cc95a2468c6d

curs_main.c

index 4e771f5..c9ec57f 100644 (file)
@@ -1205,7 +1205,8 @@ int mutt_index_menu (void)
       {
         if (Context && Context->path)
           strncpy (buf, Context->path, sizeof (buf));
-        buffy_next (buf, sizeof (buf));
+       if (op != OP_SIDEBAR_OPEN)
+         buffy_next (buf, sizeof (buf));
       }
 
       if (op == OP_SIDEBAR_OPEN) {