diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1998-10-05 18:24:42 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1998-10-05 18:24:42 +0000 |
commit | f9fb45338e02ec7171f58b91ba89554f3ea57098 (patch) | |
tree | deac7277476c9626dca43c485d6458574a2b674e /compose.c | |
parent | ee4d0e3176cd0cb6778ce9fbd4ce2b7d8123fe2e (diff) |
Vikas' macro_function patch.
Diffstat (limited to 'compose.c')
-rw-r--r-- | compose.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -435,11 +435,12 @@ int mutt_compose_menu (HEADER *msg, /* structure for new message */ /* Sort, SortAux could be changed in mutt_index_menu() */ int oldSort = Sort, oldSortAux = SortAux; struct stat st; + int savedmenu = CurrentMenu; idx = mutt_gen_attach_list (msg->content, idx, &idxlen, &idxmax, 0, 1); menu = mutt_new_menu (); - menu->menu = MENU_COMPOSE; + menu->menu = CurrentMenu = MENU_COMPOSE; menu->offset = HDR_ATTACH; menu->max = idxlen; menu->make_entry = snd_entry; @@ -1105,6 +1106,7 @@ int mutt_compose_menu (HEADER *msg, /* structure for new message */ } mutt_menuDestroy (&menu); + CurrentMenu = savedmenu; if (idxlen) { |