mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-21 12:03:55 -08:00
(encode_terminal_code): Fix previous change.
This commit is contained in:
parent
fb6f5cbf9d
commit
d6d31e570a
2 changed files with 5 additions and 1 deletions
|
|
@ -1,3 +1,7 @@
|
|||
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.
|
||||
|
|
|
|||
|
|
@ -819,11 +819,11 @@ encode_terminal_code (src, src_len, coding)
|
|||
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue