about summary refs log tree commit diff
path: root/Src/Zle/zle_misc.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2005-09-09 20:34:42 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2005-09-09 20:34:42 +0000
commitd33c6e502ab4d4398efa797702b6b115e6f5ff41 (patch)
treed0c5ed4be35dd4a11d99050dbac0138ed241b12b /Src/Zle/zle_misc.c
parent58b9e731da1f2a4eac68e06e986c9c25adafc36e (diff)
downloadzsh-d33c6e502ab4d4398efa797702b6b115e6f5ff41.tar.gz
zsh-d33c6e502ab4d4398efa797702b6b115e6f5ff41.tar.xz
zsh-d33c6e502ab4d4398efa797702b6b115e6f5ff41.zip
21722: fix multibyte word stuff
Diffstat (limited to 'Src/Zle/zle_misc.c')
-rw-r--r--Src/Zle/zle_misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/Zle/zle_misc.c b/Src/Zle/zle_misc.c
index 7159113a6..5a97b0a75 100644
--- a/Src/Zle/zle_misc.c
+++ b/Src/Zle/zle_misc.c
@@ -623,10 +623,10 @@ copyprevword(UNUSED(char **args))
     int len, t0;
 
     for (t0 = zlecs - 1; t0 >= 0; t0--)
-	if (iword(zleline[t0]))
+	if (ZC_iword(zleline[t0]))
 	    break;
     for (; t0 >= 0; t0--)
-	if (!iword(zleline[t0]))
+	if (!ZC_iword(zleline[t0]))
 	    break;
     if (t0)
 	t0++;