summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2013-04-02 16:20:28 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2013-04-02 16:20:28 +0000
commitb6f704a642a4213d3430fc4e33a1dd4901a0b993 (patch)
tree01c337bb1cdfc28af850b9cce0fb26d424bb51a4
parent7c50da839400de11576231e82c5014f5b467a241 (diff)
downloadzsh-b6f704a642a4213d3430fc4e33a1dd4901a0b993.tar.gz
zsh-b6f704a642a4213d3430fc4e33a1dd4901a0b993.tar.xz
zsh-b6f704a642a4213d3430fc4e33a1dd4901a0b993.zip
Jun. T: typo in vi-goto-mark
-rw-r--r--ChangeLog7
-rw-r--r--Src/Zle/zle_move.c2
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 56f62d85a..729abf887 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-04-02  Peter Stephenson  <p.w.stephenson@ntlworld.com>
+
+	* Jun T.: 31183: Src/Zle/zle_move.c: record old line rather than
+	history line in vi-goto-mark.
+
 2013-03-29  Mikael Magnusson  <mikachu@gmail.com>
 
 	* 31182: Completion/Unix/Command/_awk: Allow sticked arguments.
@@ -635,5 +640,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5827 $
+* $Revision: 1.5828 $
 *****************************************************
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;