summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2003-01-13 10:32:03 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2003-01-13 10:32:03 +0000
commit1e7c463fd951b1446f219b5ac54295496755b359 (patch)
tree67676610726fe5b696b16251d8c4e65227fcc6c7 /Src/Zle
parent5e7520de017418b78b168bf60f63ad874759dfdd (diff)
downloadzsh-1e7c463fd951b1446f219b5ac54295496755b359.tar.gz
zsh-1e7c463fd951b1446f219b5ac54295496755b359.tar.xz
zsh-1e7c463fd951b1446f219b5ac54295496755b359.zip
18059: allow compadd -r and -R with default space suffix
Diffstat (limited to 'Src/Zle')
-rw-r--r--Src/Zle/compresult.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/compresult.c b/Src/Zle/compresult.c
index 326417139..218afc319 100644
--- a/Src/Zle/compresult.c
+++ b/Src/Zle/compresult.c
@@ -1114,7 +1114,7 @@ do_single(Cmatch m)
 	    inststrlen(" ", 1, 1);
 	    minfo.insc++;
 	    if (minfo.we)
-		makesuffix(1);
+		makesuffixstr(m->remf, m->rems, 1);
 	}
     }
     if (minfo.we && partest && isset(AUTOPARAMKEYS))