1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 00:02:13 +00:00

sub.c: Make tables const

This commit is contained in:
Uoti Urpala 2008-05-01 09:12:38 +03:00
parent bec3b84f5e
commit 91b3d6a955
2 changed files with 4 additions and 4 deletions

View File

@ -51,7 +51,7 @@ struct osd_text_p {
};
//^
char * sub_osd_names[]={
char * const sub_osd_names[]={
MSGTR_VO_SUB_Seekbar,
MSGTR_VO_SUB_Play,
MSGTR_VO_SUB_Pause,
@ -66,7 +66,7 @@ char * sub_osd_names[]={
MSGTR_VO_SUB_Hue,
MSGTR_VO_SUB_Balance
};
char * sub_osd_names_short[] ={ "", "|>", "||", "[]", "<<" , ">>", "", "", "", "", "", "", "" };
char * const sub_osd_names_short[] ={ "", "|>", "||", "[]", "<<" , ">>", "", "", "", "", "", "", "" };
//static int vo_font_loaded=-1;
font_desc_t* vo_font=NULL;

View File

@ -96,8 +96,8 @@ extern void* vo_vobsub;
#define OSD_PB_1 0x13
/* now in textform */
extern char * sub_osd_names[];
extern char * sub_osd_names_short[];
extern char * const sub_osd_names[];
extern char * const sub_osd_names_short[];
extern int sub_unicode;
extern int sub_utf8;