From 851663282a3ff6ca39412bd0ab7481b14e66f495 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Sat, 3 Jan 2009 18:12:15 +0000 Subject: Greg Klanderman: 26159: fix appending of kills --- Src/Zle/zle_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src') 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; -- cgit 1.4.1