diff options
Diffstat (limited to 'Src/Zle')
-rw-r--r-- | Src/Zle/zle_tricky.c | 3 |
1 files changed, 2 insertions, 1 deletions
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. */ |