about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-01-03 18:12:15 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-01-03 18:12:15 +0000
commit851663282a3ff6ca39412bd0ab7481b14e66f495 (patch)
treeeb28a03c4b789207690875c845762183edb48213 /Src
parent80bb48a40004761fefa3f8f433b8450bda605e80 (diff)
downloadzsh-851663282a3ff6ca39412bd0ab7481b14e66f495.tar.gz
zsh-851663282a3ff6ca39412bd0ab7481b14e66f495.tar.xz
zsh-851663282a3ff6ca39412bd0ab7481b14e66f495.zip
Greg Klanderman: 26159: fix appending of kills
Diffstat (limited to 'Src')
-rw-r--r--Src/Zle/zle_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_utils.c b/Src/Zle/zle_utils.c
index 4c02d6013..2b2da7dcd 100644
--- a/Src/Zle/zle_utils.c
+++ b/Src/Zle/zle_utils.c
@@ -546,7 +546,7 @@ cuttext(ZLE_STRING_T line, int ct, int flags)
 	cutbuf.buf = (ZLE_STRING_T)zalloc(ZLE_CHAR_SIZE);
 	cutbuf.buf[0] = ZWC('\0');
 	cutbuf.len = cutbuf.flags = 0;
-    } else if (!(lastcmd & ZLE_KILL) || (flags & CUT_RAW)) {
+    } else if (!(lastcmd & ZLE_KILL) || (flags & CUT_REPLACE)) {
 	Cutbuffer kptr;
 	if (!kring) {
 	    kringsize = KRINGCTDEF;