]> git.wh0rd.org Git - nano.git/commitdiff
add missing reset
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Thu, 9 Dec 2004 17:00:15 +0000 (17:00 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Thu, 9 Dec 2004 17:00:15 +0000 (17:00 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2181 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/winio.c

index 2471f7a613992f8f4dc7218058e59270c706e47f..c3b0ec905a8761c0f71876f1bb5c94e27ea81df6 100644 (file)
@@ -193,6 +193,8 @@ void get_buffer(WINDOW *win)
            int wide_key_len;
 
            if (key_buffer[i].key_code) {
+               mbtowc(NULL, NULL, 0);
+
                wide_key_len = 1;
                wide_key = key_buffer[i].key;
            } else