about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
Diffstat (limited to 'Src')
-rw-r--r--Src/Zle/zle_move.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_move.c b/Src/Zle/zle_move.c
index 379c8982a..7312b3f20 100644
--- a/Src/Zle/zle_move.c
+++ b/Src/Zle/zle_move.c
@@ -844,7 +844,7 @@ vigotomark(UNUSED(char **args))
     }
     zlecs = vimarkcs[ch];
     vimarkcs[26] = oldcs;
-    vimarkline[26] = histline;
+    vimarkline[26] = oldline;
     if (zlecs > zlell)
 	zlecs = zlell;
     return 0;