diff options
author | reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-16 01:40:24 +0000 |
---|---|---|
committer | reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-16 01:40:24 +0000 |
commit | 15e8c12de234ddd93366def38b807567928fbb40 (patch) | |
tree | 6736b2a829cd66460dcc765391e3296ab646196a /input | |
parent | ca57bf90332aa59bba3385fa13cff139b7a20295 (diff) |
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
Diffstat (limited to 'input')
-rw-r--r-- | input/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |