diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2006-10-16 17:02:05 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2006-10-16 17:02:05 +0000 |
commit | b736a639ddd0f7cc9603f9fa395aaccd7a963ac5 (patch) | |
tree | 8e173a6ba3597324d6eaf279268a2905f60e2dcd /Src/Zle | |
parent | b5124578e1322fe0b05f1178eebd9a2db6c64ef3 (diff) | |
download | zsh-b736a639ddd0f7cc9603f9fa395aaccd7a963ac5.tar.gz zsh-b736a639ddd0f7cc9603f9fa395aaccd7a963ac5.tar.xz zsh-b736a639ddd0f7cc9603f9fa395aaccd7a963ac5.zip |
string quoting in compctl used QT_NONE instead of QT_BACKSLASH
Diffstat (limited to 'Src/Zle')
-rw-r--r-- | Src/Zle/compctl.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 */ |