From: David Lawrence Ramsey Date: Sat, 2 Dec 2006 23:39:16 +0000 (+0000) Subject: add missing blank lines X-Git-Tag: v2.0.2~18 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=bd5398050a003c4e9aa3e4daadc19e9f8f74bab5;p=nano.git add missing blank lines git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3987 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/winio.c b/src/winio.c index 37d8b574..5b502355 100644 --- a/src/winio.c +++ b/src/winio.c @@ -1444,9 +1444,12 @@ void unparse_kbinput(char *output, size_t output_len) return; input = (int *)nmalloc(output_len * sizeof(int)); + for (i = 0; i < output_len; i++) input[i] = (int)output[i]; + unget_input(input, output_len); + free(input); }