diff src/font.c @ 111473:1e95f3ea022d

Add const to array elements of font filter properties. * font.c (font_filter_properties): Add const to array elements of properties args. * font.h (font_filter_properties): Likewise. * ftfont.c (ftfont_booleans, ftfont_non_booleans): Add const to array elements. * w32font.c (w32font_booleans, w32font_non_booleans): Likewise.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Wed, 10 Nov 2010 18:02:54 +0900
parents de02b794c330
children ac49e05bfcf2
line wrap: on
line diff
--- a/src/font.c	Wed Nov 10 09:48:18 2010 +0100
+++ b/src/font.c	Wed Nov 10 18:02:54 2010 +0900
@@ -3732,8 +3732,8 @@
 void
 font_filter_properties (Lisp_Object font,
 			Lisp_Object alist,
-			const char *boolean_properties[],
-			const char *non_boolean_properties[])
+			const char *const boolean_properties[],
+			const char *const non_boolean_properties[])
 {
   Lisp_Object it;
   int i;