Mercurial > mplayer.hg
changeset 30709:d7d299029638
Mark character arrays as const.
author | diego |
---|---|
date | Fri, 26 Feb 2010 19:57:40 +0000 |
parents | 8a96d56b01f0 |
children | c6524b71a9da |
files | libvo/font_load_ft.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/font_load_ft.c Fri Feb 26 19:56:03 2010 +0000 +++ b/libvo/font_load_ft.c Fri Feb 26 19:57:40 2010 +0000 @@ -84,13 +84,13 @@ #define OSD_CHARSET_SIZE 15 -static FT_ULong osd_charset[OSD_CHARSET_SIZE] = +static const FT_ULong osd_charset[OSD_CHARSET_SIZE] = { 0xe001, 0xe002, 0xe003, 0xe004, 0xe005, 0xe006, 0xe007, 0xe008, 0xe009, 0xe00a, 0xe00b, 0xe010, 0xe011, 0xe012, 0xe013 }; -static FT_ULong osd_charcodes[OSD_CHARSET_SIZE] = +static const FT_ULong osd_charcodes[OSD_CHARSET_SIZE] = { 0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08, 0x09,0x0a,0x0b,0x10,0x11,0x12,0x13