1
mirror of https://github.com/mpv-player/mpv synced 2025-01-16 22:37:28 +01:00

font_load_ft.c: Make tables const

This commit is contained in:
Uoti Urpala 2008-04-28 16:38:40 +03:00
parent f800a42e45
commit e1ef11f0f6

View File

@ -70,13 +70,13 @@ static FT_Library library;
#define OSD_CHARSET_SIZE 15 #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, 0xe001, 0xe002, 0xe003, 0xe004, 0xe005, 0xe006, 0xe007, 0xe008,
0xe009, 0xe00a, 0xe00b, 0xe010, 0xe011, 0xe012, 0xe013 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, 0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,
0x09,0x0a,0x0b,0x10,0x11,0x12,0x13 0x09,0x0a,0x0b,0x10,0x11,0x12,0x13