Commit 951d9c55 authored by Thomas Roessler's avatar Thomas Roessler

Fix alias completion when the alias is entered as part of a group.

(E.g., The Tea Party: alias1, alias2, alias3;)
parent ea329b7b
......@@ -483,7 +483,8 @@ int _mutt_enter_string (char *buf, size_t buflen, int y, int x,
else if (flags & M_ALIAS)
{
/* invoke the alias-menu to get more addresses */
for (i = state->curpos; i && state->wbuf[i-1] != ','; i--)
for (i = state->curpos; i && state->wbuf[i-1] != ',' &&
state->wbuf[i-1] != ':'; i--)
;
for (; i < state->lastchar && state->wbuf[i] == ' '; i++)
;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment