summaryrefslogtreecommitdiffstats
path: root/Gui/wm
diff options
context:
space:
mode:
authorreynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-16 01:40:24 +0000
committerreynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-16 01:40:24 +0000
commit15e8c12de234ddd93366def38b807567928fbb40 (patch)
tree6736b2a829cd66460dcc765391e3296ab646196a /Gui/wm
parentca57bf90332aa59bba3385fa13cff139b7a20295 (diff)
downloadmpv-15e8c12de234ddd93366def38b807567928fbb40.tar.bz2
mpv-15e8c12de234ddd93366def38b807567928fbb40.tar.xz
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/wm')
-rw-r--r--Gui/wm/wskeys.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Gui/wm/wskeys.h b/Gui/wm/wskeys.h
index b1438af92f..830aecbc39 100644
--- a/Gui/wm/wskeys.h
+++ b/Gui/wm/wskeys.h
@@ -156,7 +156,7 @@
typedef struct
{
int code;
- char * name;
+ const char * name;
} TwsKeyNames;
extern TwsKeyNames wsKeyNames[ wsKeyNumber ];