Mercurial > mplayer.hg
diff input/input.c @ 19110:08888397444e
marks several strings inside structs as const when they hold just
read-only information and modifies GetLanguage in Gui/mplayer/gtk/menu.c
to cope which the changes.
author | reynaldo |
---|---|
date | Sun, 16 Jul 2006 01:40:24 +0000 |
parents | e60c8c7399d2 |
children | 4e68a3881201 |
line wrap: on
line diff
--- a/input/input.c Sun Jul 16 01:24:42 2006 +0000 +++ b/input/input.c Sun Jul 16 01:40:24 2006 +0000 @@ -1671,7 +1671,7 @@ static int mp_input_print_cmd_list(m_option_t* cfg) { mp_cmd_t *cmd; int i,j; - char* type; + const char* type; for(i = 0; (cmd = &mp_cmds[i])->name != NULL ; i++) { printf("%-20.20s",cmd->name);