diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1999-01-13 18:04:40 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1999-01-13 18:04:40 +0000 |
commit | 6f12ecd3808f7a07845392a32859c7f49aceea75 (patch) | |
tree | d1833bb59222256ccfefe067dd1bfa17aec93efb /remailer.c | |
parent | bb36515cb7776594b10e80c10b0f43bff8c47723 (diff) |
Fix the "append" function.
Diffstat (limited to 'remailer.c')
-rw-r--r-- | remailer.c | 19 |
1 files changed, 3 insertions, 16 deletions
@@ -543,23 +543,10 @@ void mix_make_chain (LIST **chainp, int *redraw) case OP_GENERIC_SELECT_ENTRY: case OP_MIX_APPEND: { - if (chain->cl < MAXMIXES) - { - c_cur = chain->cl++; - chain->ch[c_cur] = menu->current; - mix_screen_coordinates (type2_list, &coords, chain, c_cur); - c_redraw = 1; - } - else - { - char buff[SHORT_STRING]; - snprintf (buff, sizeof (buff), _("Mixmaster chains are limited to %d elements."), - MAXMIXES); - mutt_error (buff); - } - break; + if (chain->cl < MAXMIXES && c_cur < chain->cl) + c_cur++; } - + /* fallthrough */ case OP_MIX_INSERT: { if (chain->cl < MAXMIXES) |