summaryrefslogtreecommitdiffstats
path: root/compose.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1999-01-26 08:39:30 +0000
committerThomas Roessler <roessler@does-not-exist.org>1999-01-26 08:39:30 +0000
commit4e88558ae2a951b385cbe053f83e91809e3eaf58 (patch)
tree3018276b334478f43a35d13542a8574812c36f9b /compose.c
parent3530aa43a4e2ad2fc20a011e421e11aedc892519 (diff)
$resolve should be honored when doing toggle-unlink on the compose
menu.
Diffstat (limited to 'compose.c')
-rw-r--r--compose.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/compose.c b/compose.c
index 62d2d562..c1a6d7f6 100644
--- 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;