From 7baf20487bdb08036dc314899e1a164432cfdef5 Mon Sep 17 00:00:00 2001 From: pdmef Date: Sat, 16 Jul 2005 10:41:23 +0000 Subject: [PATCH] Rocco Rutte: - don't "buff_next" if you ignore the effect anyways (sidebar_open already provides the complete folder name) (patch by Lars Ellenberg ) git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@326 e385b8ad-14ed-0310-8656-cc95a2468c6d --- curs_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/curs_main.c b/curs_main.c index 4e771f5..c9ec57f 100644 --- a/curs_main.c +++ b/curs_main.c @@ -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) { -- 2.20.1