summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2007-04-15 20:04:58 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2007-04-15 20:04:58 +0000
commit9dab5eef01ebaf59a112c2dd50b22eaead047da5 (patch)
tree89023103b7c3d5e07d8bbeac019d476c4cbbc07f /Src
parent2f5b3f97bd76c49e28360592decca9ec65368486 (diff)
downloadzsh-9dab5eef01ebaf59a112c2dd50b22eaead047da5.tar.gz
zsh-9dab5eef01ebaf59a112c2dd50b22eaead047da5.tar.xz
zsh-9dab5eef01ebaf59a112c2dd50b22eaead047da5.zip
users/11398: vi-goto-mark broken by multibyte support
Diffstat (limited to 'Src')
-rw-r--r--Src/Zle/zle_move.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/Zle/zle_move.c b/Src/Zle/zle_move.c
index fb597004d..9b91f8885 100644
--- a/Src/Zle/zle_move.c
+++ b/Src/Zle/zle_move.c
@@ -484,9 +484,10 @@ int
 vigotomark(UNUSED(char **args))
 {
     ZLE_INT_T ch;
+    LASTFULLCHAR_T lfc = LASTFULLCHAR;
 
     ch = getfullchar(0);
-    if (ch == LASTFULLCHAR)
+    if (ch == lfc)
 	ch = 26;
     else {
 	if (ch < ZWC('a') || ch > ZWC('z'))