diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2008-04-18 11:49:24 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-04-18 11:49:24 +0000 |
commit | 067cfa3a06156d27a0e526c685b322c1212c2a2b (patch) | |
tree | 241e373234fc62c7a8cf6749fdc27216b757f3a1 /Src/Zle | |
parent | 490f6cc51cd621452a4b6e36f525a03affd346f2 (diff) | |
download | zsh-067cfa3a06156d27a0e526c685b322c1212c2a2b.tar.gz zsh-067cfa3a06156d27a0e526c685b322c1212c2a2b.tar.xz zsh-067cfa3a06156d27a0e526c685b322c1212c2a2b.zip |
24839: fix misuse of variable in backwardkillword
Diffstat (limited to 'Src/Zle')
-rw-r--r-- | Src/Zle/zle_word.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |