From: Thomas Roessler Date: Mon, 7 Sep 1998 14:47:05 +0000 (+0000) Subject: Don't use as an address delimiter when using X-Git-Tag: mutt-0-94-6i-rel~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6ae3e43fdf6c328f1146ccb9a233d8e22b4d11d2;p=mutt Don't use as an address delimiter when using query-complete and alias-complete. --- diff --git a/enter.c b/enter.c index f9968b2c..d528713e 100644 --- a/enter.c +++ b/enter.c @@ -329,7 +329,7 @@ int mutt_enter_string (unsigned char *buf, size_t buflen, int y, int x, buf[curpos] = 0; if (curpos) { - for (j = curpos - 1 ; j >= 0 && buf[j] != ' ' && buf[j] != ',' ; j--); + for (j = curpos - 1 ; j >= 0 && buf[j] != ',' ; j--); if (mutt_alias_complete ((char *) buf + j + 1, buflen - j - 1)) { redraw = M_REDRAW_INIT; @@ -384,7 +384,7 @@ int mutt_enter_string (unsigned char *buf, size_t buflen, int y, int x, buf[curpos] = 0; if (curpos) { - for (j = curpos - 1 ; j >= 0 && buf[j] != ' ' && buf[j] != ',' ; j--); + for (j = curpos - 1 ; j >= 0 && buf[j] != ',' ; j--); mutt_query_complete ((char *) buf + j + 1, buflen - j - 1); } else