diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1998-12-10 11:06:25 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1998-12-10 11:06:25 +0000 |
commit | 09201a6910a15a2e9e4351d3438d821eda5586ec (patch) | |
tree | 8ac7b136e5ef854acd80364678a33732fa8898d3 /menu.c | |
parent | dd98acae5c80c159931fc95cd3302e99e8501d46 (diff) |
Fix tag-prefix.
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 17 |
1 files changed, 13 insertions, 4 deletions
@@ -676,10 +676,19 @@ int mutt_menuLoop (MUTTMENU *menu) i = km_dokey (menu->menu); if (i == OP_TAG_PREFIX) { - mvaddstr (LINES - 1, 0, "Tag-"); - i = km_dokey (menu->menu); - menu->tagprefix = 1; - CLEARLINE (LINES - 1); + if (menu->tagged) + { + mvaddstr (LINES - 1, 0, "Tag-"); + clrtoeol (); + i = km_dokey (menu->menu); + menu->tagprefix = 1; + CLEARLINE (LINES - 1); + } + else + { + mutt_error _("No tagged entries."); + i = -1; + } } else if (menu->tagged && option (OPTAUTOTAG)) menu->tagprefix = 1; |