From 15e8c12de234ddd93366def38b807567928fbb40 Mon Sep 17 00:00:00 2001 From: reynaldo Date: Sun, 16 Jul 2006 01:40:24 +0000 Subject: 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. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19115 b3059339-0415-0410-9bf9-f77b7e298cf2 --- input/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'input') diff --git a/input/input.c b/input/input.c index 4b1afa3214..2da5353bfa 100644 --- a/input/input.c +++ b/input/input.c @@ -1671,7 +1671,7 @@ static int mp_input_print_key_list(m_option_t* cfg) { 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); -- cgit v1.2.3