diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2005-09-09 13:48:59 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2005-09-09 13:48:59 +0000 |
commit | 5831792752f6f58ae6be8187832d4748287f6f11 (patch) | |
tree | c28e94af64086af5be79952eb018793d81e09a46 /Src | |
parent | d39b9fabdb7c6802aff547b17810b02d9dffa8a4 (diff) | |
download | zsh-5831792752f6f58ae6be8187832d4748287f6f11.tar.gz zsh-5831792752f6f58ae6be8187832d4748287f6f11.tar.xz zsh-5831792752f6f58ae6be8187832d4748287f6f11.zip |
21717: Src/Zle/zle_misc.c: fix execute-named-command and -where-is
with multibyte support
Diffstat (limited to 'Src')
-rw-r--r-- | Src/Zle/zle_misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_misc.c b/Src/Zle/zle_misc.c index 05a780b0c..7159113a6 100644 --- a/Src/Zle/zle_misc.c +++ b/Src/Zle/zle_misc.c @@ -955,7 +955,7 @@ executenamedcommand(char *prmt) else { #ifdef ZLE_UNICODE_SUPPORT if (!lastchar_wide_valid) - getrestchar(0); + getrestchar(lastchar); if (iswcntrl(lastchar_wide)) #else if (icntrl(lastchar)) |