# HG changeset patch # User Ken Raeburn # Date 1027089438 0 # Node ID 96e8fdfd951dfd62f9c1a99d70daf303a254f7d6 # Parent d613ff01b7a81853bb15410ac919b77133eeb840 (encode_terminal_code): Buffer pointer now const. diff -r d613ff01b7a8 -r 96e8fdfd951d src/term.c --- a/src/term.c Fri Jul 19 14:37:13 2002 +0000 +++ b/src/term.c Fri Jul 19 14:37:18 2002 +0000 @@ -810,7 +810,8 @@ struct glyph *src_start = src, *src_end = src + src_len; unsigned char *dst_start = dst, *dst_end = dst + dst_len; register GLYPH g; - unsigned char workbuf[MAX_MULTIBYTE_LENGTH], *buf; + unsigned char workbuf[MAX_MULTIBYTE_LENGTH]; + const unsigned char *buf; int len; register int tlen = GLYPH_TABLE_LENGTH; register Lisp_Object *tbase = GLYPH_TABLE_BASE;