about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2011-01-11 20:12:18 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2011-01-11 20:12:18 +0000
commitfe59d196a05d89140df4f0960f59334dbb8ebc33 (patch)
treee7e7a9395d951943f90b2021e1cd9152d07c8cce /Src
parent7541f37b63e0c0261b6812450b0a7bb427c7572a (diff)
downloadzsh-fe59d196a05d89140df4f0960f59334dbb8ebc33.tar.gz
zsh-fe59d196a05d89140df4f0960f59334dbb8ebc33.tar.xz
zsh-fe59d196a05d89140df4f0960f59334dbb8ebc33.zip
28611: remove unused special behaviour for vi mark 26
Diffstat (limited to 'Src')
-rw-r--r--Src/Zle/zle_move.c13
1 files changed, 4 insertions, 9 deletions
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)) {