X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=curs_main.c;h=c58b71a0510a090ca2fe912758edad29c10402de;hp=3835af7f6387859dd4aa6893cf5b4b8c719f0ec7;hb=420f3633557ed75a0de989eb065af6e09eed29ba;hpb=f353d90d89bbdaa8ff3f3c619384948ec8fe9c14 diff --git a/curs_main.c b/curs_main.c index 3835af7..c58b71a 100644 --- a/curs_main.c +++ b/curs_main.c @@ -1121,6 +1121,9 @@ CHECK_IMAP_ACL(IMAP_ACL_DELETE); else { mutt_set_flag (Context, CURHDR, M_TAG, !CURHDR->tagged); + Context->last_tag = CURHDR->tagged ? CURHDR : + ((Context->last_tag == CURHDR && !CURHDR->tagged) + ? NULL : Context->last_tag); menu->redraw = REDRAW_STATUS; if (option (OPTRESOLVE) && menu->current < Context->vcount - 1) { @@ -1296,6 +1299,12 @@ CHECK_IMAP_ACL(IMAP_ACL_DELETE); { int check; +#ifdef USE_COMPRESSED + if (Context->compressinfo && Context->realpath) + mutt_str_replace (&LastFolder, Context->realpath); + else +#endif + mutt_str_replace (&LastFolder, Context->path); oldcount = Context ? Context->msgcount : 0;