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 /addrbook.c | |
parent | ee4d0e3176cd0cb6778ce9fbd4ce2b7d8123fe2e (diff) |
Vikas' macro_function patch.
Diffstat (limited to 'addrbook.c')
-rw-r--r-- | addrbook.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -125,6 +125,7 @@ void mutt_alias_menu (char *buf, size_t buflen, ALIAS *aliases) int t = -1; int i, done = 0; char helpstr[SHORT_STRING]; + int savedmenu = CurrentMenu; if (!aliases) { @@ -139,7 +140,7 @@ void mutt_alias_menu (char *buf, size_t buflen, ALIAS *aliases) menu->make_entry = alias_entry; menu->search = alias_search; menu->tag = alias_tag; - menu->menu = MENU_ALIAS; + menu->menu = CurrentMenu = MENU_ALIAS; menu->title = _("Aliases"); menu->help = mutt_compile_help (helpstr, sizeof (helpstr), MENU_ALIAS, AliasHelp); @@ -188,5 +189,6 @@ void mutt_alias_menu (char *buf, size_t buflen, ALIAS *aliases) rfc822_write_address (buf, buflen, AliasTable[t]->addr); mutt_menuDestroy (&menu); + CurrentMenu = savedmenu; safe_free ((void **) &AliasTable); } |