From b736a639ddd0f7cc9603f9fa395aaccd7a963ac5 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 16 Oct 2006 17:02:05 +0000 Subject: string quoting in compctl used QT_NONE instead of QT_BACKSLASH --- Src/Zle/compctl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Src/Zle') diff --git a/Src/Zle/compctl.c b/Src/Zle/compctl.c index 4cd9d9c65..b76cb64e7 100644 --- a/Src/Zle/compctl.c +++ b/Src/Zle/compctl.c @@ -1741,7 +1741,8 @@ static int addwhat; * This uses the instring variable exported from zle_tricky.c. */ -#define quotename(s, e) quotestring(s, e, instring) +#define quotename(s, e) \ +quotestring(s, e, instring == QT_NONE ? QT_BACKSLASH : instring) /* Hook functions */ -- cgit 1.4.1