Mercurial > emacs
diff src/font.h @ 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 | b8fde5ef9e14 |
| children | ac49e05bfcf2 |
line wrap: on
line diff
--- a/src/font.h Wed Nov 10 09:48:18 2010 +0100 +++ b/src/font.h Wed Nov 10 18:02:54 2010 +0900 @@ -823,8 +823,8 @@ extern 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[]); #ifdef HAVE_FREETYPE extern struct font_driver ftfont_driver;
