about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2012-08-13 08:44:05 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2012-08-13 08:44:05 +0000
commit3e39278c24ff7b5cd686af9b219178e94d9228ad (patch)
tree92d4a48f5984e33de71a2ea9e220572f5ca26824
parenta00b866099be20e58e2db2c8340bbf190f26dfc3 (diff)
downloadzsh-3e39278c24ff7b5cd686af9b219178e94d9228ad.tar.gz
zsh-3e39278c24ff7b5cd686af9b219178e94d9228ad.tar.xz
zsh-3e39278c24ff7b5cd686af9b219178e94d9228ad.zip
Aaron Schrab: 30603: repeating vi skip characters command caused bad position
-rw-r--r--ChangeLog7
-rw-r--r--Src/Zle/zle_move.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 002b7cd14..13b5a188b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-08-13  Peter Stephenson  <pws@csr.com>
+
+	* Aaron Schrab: 30603: Src/Zle/zle_move.c: repeating vi skip
+	characters commands caused bad positioning.
+
 2012-08-07  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* cat_in_136: 17200: Completion/Unix/Command/.distfiles,
@@ -16477,5 +16482,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5686 $
+* $Revision: 1.5687 $
 *****************************************************
diff --git a/Src/Zle/zle_move.c b/Src/Zle/zle_move.c
index 0e940bc21..284a86389 100644
--- a/Src/Zle/zle_move.c
+++ b/Src/Zle/zle_move.c
@@ -770,9 +770,11 @@ virevrepeatfind(char **args)
 	zmult = -zmult;
 	return ret;
     }
+    tailadd = -tailadd;
     vfinddir = -vfinddir;
     ret = virepeatfind(args);
     vfinddir = -vfinddir;
+    tailadd = -tailadd;
     return ret;
 }