From 067cfa3a06156d27a0e526c685b322c1212c2a2b Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 18 Apr 2008 11:49:24 +0000 Subject: 24839: fix misuse of variable in backwardkillword --- Src/Zle/zle_word.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Src/Zle/zle_word.c') diff --git a/Src/Zle/zle_word.c b/Src/Zle/zle_word.c index ef8220056..83f7a4ece 100644 --- a/Src/Zle/zle_word.c +++ b/Src/Zle/zle_word.c @@ -464,14 +464,14 @@ backwardkillword(char **args) while (x) { int pos = x; DECPOS(pos); - if (ZC_iword(zleline[x])) + if (ZC_iword(zleline[pos])) break; x = pos; } while (x) { int pos = x; DECPOS(pos); - if (!ZC_iword(zleline[x])) + if (!ZC_iword(zleline[pos])) break; x = pos; } -- cgit 1.4.1