diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-04-29 21:55:22 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-04-29 21:55:22 +0000 |
commit | d8fc5c0b999204f47efd7702502b41ead11948a4 (patch) | |
tree | 35c332fe05654b768a8126fc3de893eef95eac2c /src/message.c | |
parent | 8ea9123258804d6199c79789af295bb3ca3db296 (diff) | |
download | vim-git-d8fc5c0b999204f47efd7702502b41ead11948a4.tar.gz |
updated for version 7.0f05
Diffstat (limited to 'src/message.c')
-rw-r--r-- | src/message.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/message.c b/src/message.c index 08810ad82..c67d47d98 100644 --- a/src/message.c +++ b/src/message.c @@ -1004,13 +1004,9 @@ wait_return(redraw) #endif if (vim_strchr((char_u *)"\r\n ", c) == NULL && c != Ctrl_C) { - char_u buf[2]; - /* Put the character back in the typeahead buffer. Don't use the * stuff buffer, because lmaps wouldn't work. */ - buf[0] = c; - buf[1] = NUL; - ins_typebuf(buf, REMAP_YES, 0, !KeyTyped, FALSE); + ins_char_typebuf(c); do_redraw = TRUE; /* need a redraw even though there is typeahead */ } |