]> granicus.if.org Git - mutt/commitdiff
$resolve should be honored when doing toggle-unlink on the compose
authorThomas Roessler <roessler@does-not-exist.org>
Tue, 26 Jan 1999 08:39:30 +0000 (08:39 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Tue, 26 Jan 1999 08:39:30 +0000 (08:39 +0000)
menu.

compose.c

index 62d2d56221c9fdd85c02c0fb1c665de3285d58c1..c1a6d7f65b4005478d87d18c103626c6fe73871a 100644 (file)
--- a/compose.c
+++ b/compose.c
@@ -865,6 +865,8 @@ int mutt_compose_menu (HEADER *msg,   /* structure for new message */
       case OP_COMPOSE_TOGGLE_UNLINK:
        CHECK_COUNT;
        idx[menu->current]->content->unlink = !idx[menu->current]->content->unlink;
+       if (option (OPTRESOLVE) && menu->current + 1 < menu->max)
+         menu->current++;
        menu->redraw = REDRAW_INDEX;
        break;