diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2007-04-15 20:04:58 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2007-04-15 20:04:58 +0000 |
commit | 9dab5eef01ebaf59a112c2dd50b22eaead047da5 (patch) | |
tree | 89023103b7c3d5e07d8bbeac019d476c4cbbc07f /Src | |
parent | 2f5b3f97bd76c49e28360592decca9ec65368486 (diff) | |
download | zsh-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.c | 3 |
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')) |