]> granicus.if.org Git - mutt/commitdiff
Don't use <space> as an address delimiter when using
authorThomas Roessler <roessler@does-not-exist.org>
Mon, 7 Sep 1998 14:47:05 +0000 (14:47 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Mon, 7 Sep 1998 14:47:05 +0000 (14:47 +0000)
query-complete and alias-complete.

enter.c

diff --git a/enter.c b/enter.c
index f9968b2c1c97ed14165aa2d3b88cc144025340c4..d528713ef45ac7704de1542fae2f1ddbcdc33979 100644 (file)
--- 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