aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKen Raeburn2002-07-19 14:27:04 +0000
committerKen Raeburn2002-07-19 14:27:04 +0000
commitc6fac61f1cb5fcc8e6b76f07126fe7f8f1cf6a67 (patch)
tree8ccbe8832324196fffaf1d5b95d6c16661419ea0 /src
parentf14049eb75c58c9b5ec6c92c0e70a46a03af4aac (diff)
downloademacs-c6fac61f1cb5fcc8e6b76f07126fe7f8f1cf6a67.tar.gz
emacs-c6fac61f1cb5fcc8e6b76f07126fe7f8f1cf6a67.zip
(compose_chars_in_text): Treat Lisp string contents
as const.
Diffstat (limited to 'src')
-rw-r--r--src/composite.c2
1 files changed, 1 insertions, 1 deletions
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)
605 /* Set to nonzero if we don't have to compose ASCII characters. */ 605 /* Set to nonzero if we don't have to compose ASCII characters. */
606 int skip_ascii; 606 int skip_ascii;
607 int i, len, stop, c; 607 int i, len, stop, c;
608 unsigned char *ptr, *pend; 608 const unsigned char *ptr, *pend;
609 609
610 if (! CHAR_TABLE_P (Vcomposition_function_table)) 610 if (! CHAR_TABLE_P (Vcomposition_function_table))
611 return; 611 return;