diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | Src/Zle/zle_word.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 438148bc0..8b24ad70d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-04-18 Peter Stephenson <pws@csr.com> + + * 24839: Src/Zle/zle_word.c: misuse of variable in 24825. + 2008-04-17 Peter Stephenson <pws@csr.com> * 24829: Jun T.: Src/Zle/zle_vi.c: vi-replace-chars got broken 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; } |