it after that
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2143
35c25a1d-7b9e-4130-9fde-
d3aeb78583b8
- For consistency, preserve placewewant if we didn't unjustify
instead of setting it to 0. (DLR)
- winio.c:
+ unget_kbinput()
+ - Free s after the wctomb() call, since we don't need it after
+ that. (DLR)
get_kbinput(), get_translated_kbinput(), get_ascii_kbinput(),
get_untranslated_kbinput()
- Make the ascii_digits variables ints instead of size_t's,
wchar_t wc = (wchar_t)kbinput;
i = wctomb(s, wc);
+ free(s);
if (i == -1)
/* This wide character is unrecognized. Send it back. */
for (; i > 0; i--)
ungetch(s[i - 1]);
}
- free(s);
} else
ungetch(kbinput);
if (meta_key)