summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Zle')
-rw-r--r--Src/Zle/zle_move.c2
1 files changed, 2 insertions, 0 deletions
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;
 }