diff options
author | 2006-07-16 01:40:24 +0000 | |
---|---|---|
committer | 2006-07-16 01:40:24 +0000 | |
commit | 15e8c12de234ddd93366def38b807567928fbb40 (patch) | |
tree | 6736b2a829cd66460dcc765391e3296ab646196a /Gui/skin/skin.c | |
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 'Gui/skin/skin.c')
-rw-r--r-- | Gui/skin/skin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Gui/skin/skin.c b/Gui/skin/skin.c index 123af0944c..852d3bdab6 100644 --- a/Gui/skin/skin.c +++ b/Gui/skin/skin.c @@ -586,7 +586,7 @@ int cmd_decoration( char * in ) typedef struct { - char * name; + const char * name; int (*func)( char * in ); } _item; |