1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2026-01-04 09:01:06 +01:00

users/11398: vi-goto-mark broken by multibyte support

This commit is contained in:
Peter Stephenson 2007-04-15 20:04:58 +00:00
parent 2f5b3f97bd
commit 9dab5eef01
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2007-04-15 Peter Stephenson <p.w.stephenson@ntlworld.com>
* users/11398: Src/zle_move.c: vi-goto-mark was broken
by multibyte characters.
2007-04-14 Clint Adams <schizo@debian.org>
* 23275: Completion/Unix/Command/_date: change order of

View file

@ -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'))