diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2005-09-09 16:55:21 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2005-09-09 16:55:21 +0000 |
commit | 58b9e731da1f2a4eac68e06e986c9c25adafc36e (patch) | |
tree | 99a462bd5edd33d80c57ffbee85f9063d0cdc2b2 /Src/Zle | |
parent | 7746eea52b8b5b3d6cc7cf89adc3d4f684461977 (diff) | |
download | zsh-58b9e731da1f2a4eac68e06e986c9c25adafc36e.tar.gz zsh-58b9e731da1f2a4eac68e06e986c9c25adafc36e.tar.xz zsh-58b9e731da1f2a4eac68e06e986c9c25adafc36e.zip |
21720: fix getrestchar() some more
Diffstat (limited to 'Src/Zle')
-rw-r--r-- | Src/Zle/zle_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/Zle/zle_main.c b/Src/Zle/zle_main.c index 4f598b889..1b62ff027 100644 --- a/Src/Zle/zle_main.c +++ b/Src/Zle/zle_main.c @@ -814,7 +814,8 @@ getrestchar(int inchar) * timed out. This probably indicates a duff character. * Return a '?'. */ - lastchar_wide = L'?'; + lastchar = '?'; + return lastchar_wide = L'?'; } else return lastchar_wide = WEOF; |