+2004-12-12 Kenichi Handa <handa@m17n.org>
+
+ * term.c (encode_terminal_code): Fix previous change.
+
2004-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
* keyboard.c (handle_async_input): Remove pthread mutex handling.
required = MAX_MULTIBYTE_LENGTH * src_len;
if (encode_terminal_bufsize < required)
{
- encode_terminal_bufsize = required;
if (encode_terminal_bufsize == 0)
encode_terminal_buf = xmalloc (required);
else
encode_terminal_buf = xrealloc (encode_terminal_buf, required);
+ encode_terminal_bufsize = required;
}
buf = encode_terminal_buf;