summaryrefslogtreecommitdiff
path: root/Src/Zle/zle_word.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Zle/zle_word.c')
-rw-r--r--Src/Zle/zle_word.c4
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;
}