From 048ac23985eab7913e9a1b6013324657bb7750ac Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 25 Oct 2006 18:01:41 +0000 Subject: 22911: use QT_BACKSLASH if instring is QT_NONE --- Src/Zle/zle_tricky.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Src/Zle/zle_tricky.c') diff --git a/Src/Zle/zle_tricky.c b/Src/Zle/zle_tricky.c index 09a0be5d8..b0fb6e8ac 100644 --- a/Src/Zle/zle_tricky.c +++ b/Src/Zle/zle_tricky.c @@ -417,7 +417,8 @@ mod_export int instring, inbackt; * This uses the instring variable above. */ -#define quotename(s, e) quotestring(s, e, instring) +#define quotename(s, e) \ +quotestring(s, e, instring == QT_NONE ? QT_BACKSLASH : instring) /* Check if the given string is the name of a parameter and if this * * parameter is one worth expanding. */ -- cgit 1.4.1