add missing reset

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2181 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2004-12-09 17:00:15 +00:00
parent c2ac02ff46
commit 164bf36ea8
1 changed files with 2 additions and 0 deletions

View 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