From 5831792752f6f58ae6be8187832d4748287f6f11 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 9 Sep 2005 13:48:59 +0000 Subject: 21717: Src/Zle/zle_misc.c: fix execute-named-command and -where-is with multibyte support --- Src/Zle/zle_misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/Zle/zle_misc.c') 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)) -- cgit v1.2.3