changeset 46559:96e8fdfd951d

(encode_terminal_code): Buffer pointer now const.
author Ken Raeburn <raeburn@raeburn.org>
date Fri, 19 Jul 2002 14:37:18 +0000
parents d613ff01b7a8
children 7e33b9e54c4c
files src/term.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;