diff options
| author | YAMAMOTO Mitsuharu | 2010-11-10 18:02:54 +0900 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2010-11-10 18:02:54 +0900 |
| commit | 3106121c9979ea4a2beee1485979f6e46e19f2a6 (patch) | |
| tree | e3b910b4e159db23853b48d25bb09aa2f1702e71 /src/font.c | |
| parent | da1fec2bc11a790e56d3473228f25c3dcfd59e59 (diff) | |
| download | emacs-3106121c9979ea4a2beee1485979f6e46e19f2a6.tar.gz emacs-3106121c9979ea4a2beee1485979f6e46e19f2a6.zip | |
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.
Diffstat (limited to 'src/font.c')
| -rw-r--r-- | src/font.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/font.c b/src/font.c index c08c211199c..ae933df75c8 100644 --- a/src/font.c +++ b/src/font.c | |||
| @@ -3732,8 +3732,8 @@ font_get_frame_data (FRAME_PTR f, struct font_driver *driver) | |||
| 3732 | void | 3732 | void |
| 3733 | font_filter_properties (Lisp_Object font, | 3733 | font_filter_properties (Lisp_Object font, |
| 3734 | Lisp_Object alist, | 3734 | Lisp_Object alist, |
| 3735 | const char *boolean_properties[], | 3735 | const char *const boolean_properties[], |
| 3736 | const char *non_boolean_properties[]) | 3736 | const char *const non_boolean_properties[]) |
| 3737 | { | 3737 | { |
| 3738 | Lisp_Object it; | 3738 | Lisp_Object it; |
| 3739 | int i; | 3739 | int i; |