From: Ken Raeburn Date: Fri, 19 Jul 2002 14:27:04 +0000 (+0000) Subject: (compose_chars_in_text): Treat Lisp string contents X-Git-Tag: ttn-vms-21-2-B4~13976 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c6fac61f1cb5fcc8e6b76f07126fe7f8f1cf6a67;p=emacs.git (compose_chars_in_text): Treat Lisp string contents as const. --- diff --git a/src/composite.c b/src/composite.c index 1b40810a3aa..9fc58bc27b6 100644 --- a/src/composite.c +++ b/src/composite.c @@ -605,7 +605,7 @@ compose_chars_in_text (start, end, string) /* Set to nonzero if we don't have to compose ASCII characters. */ int skip_ascii; int i, len, stop, c; - unsigned char *ptr, *pend; + const unsigned char *ptr, *pend; if (! CHAR_TABLE_P (Vcomposition_function_table)) return;