From 6ae3e43fdf6c328f1146ccb9a233d8e22b4d11d2 Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Mon, 7 Sep 1998 14:47:05 +0000 Subject: [PATCH] Don't use as an address delimiter when using query-complete and alias-complete. --- enter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.40.0