summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--Src/Zle/zle_move.c13
2 files changed, 10 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index 1621307f1..3a20f62b1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-01-11 Peter Stephenson <p.w.stephenson@ntlworld.com>
+
+ * 28611: Src/Zle/zle_move.c: remove unused special behaviour for
+ VI mark 26.
+
2011-01-11 Peter Stephenson <pws@csr.com>
* 28626: Doc/Zsh/func.yo: summarise differences between two
@@ -14099,5 +14104,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5179 $
+* $Revision: 1.5180 $
*****************************************************
diff --git a/Src/Zle/zle_move.c b/Src/Zle/zle_move.c
index f15b114f5..925f9c29f 100644
--- a/Src/Zle/zle_move.c
+++ b/Src/Zle/zle_move.c
@@ -30,7 +30,7 @@
#include "zle.mdh"
#include "zle_move.pro"
-static int vimarkcs[27], vimarkline[27];
+static int vimarkcs[26], vimarkline[26];
#ifdef MULTIBYTE_SUPPORT
/*
@@ -803,16 +803,11 @@ int
vigotomark(UNUSED(char **args))
{
ZLE_INT_T ch;
- LASTFULLCHAR_T lfc = LASTFULLCHAR;
ch = getfullchar(0);
- if (ch == lfc)
- ch = 26;
- else {
- if (ch < ZWC('a') || ch > ZWC('z'))
- return 1;
- ch -= ZWC('a');
- }
+ if (ch < ZWC('a') || ch > ZWC('z'))
+ return 1;
+ ch -= ZWC('a');
if (!vimarkline[ch])
return 1;
if (curhist != vimarkline[ch] && !zle_goto_hist(vimarkline[ch], 0, 0)) {