X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=curs_main.c;h=9969bbc8f54b87e1e95d7d438bc35ef9be86b051;hb=f1ca09e359410e2b578a24a647fc383edd5ab4b5;hp=45952ef88137203bbcd410c7626b5258429b674b;hpb=4ca1867975c2c1f247557d4f33ea6ca6dbe9eae0;p=apps%2Fmadmutt.git diff --git a/curs_main.c b/curs_main.c index 45952ef..9969bbc 100644 --- a/curs_main.c +++ b/curs_main.c @@ -1277,7 +1277,11 @@ CHECK_IMAP_ACL(IMAP_ACL_DELETE); } else #endif - mutt_buffy (buf, sizeof (buf)); + { + if (Context && Context->path) + strncpy (buf, Context->path, sizeof (buf)); + mutt_buffy (buf, sizeof (buf)); + } if ( op == OP_SIDEBAR_OPEN ) { if(!CurBuffy)