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 --- Gui/wm/wskeys.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Gui/wm') 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 ]; -- cgit v1.2.3