From 9016716700ce67affb9ac96c8d6e00ed30ac366c Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 2 Dec 2007 21:48:45 +0000 Subject: Make wsKeyNames array const git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25272 b3059339-0415-0410-9bf9-f77b7e298cf2 --- gui/wm/wskeys.h | 2 +- gui/wm/wsmkeys.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'gui') diff --git a/gui/wm/wskeys.h b/gui/wm/wskeys.h index 7e8d42030c..ab6ad750f9 100644 --- a/gui/wm/wskeys.h +++ b/gui/wm/wskeys.h @@ -159,7 +159,7 @@ typedef struct const char * name; } TwsKeyNames; -extern TwsKeyNames wsKeyNames[ wsKeyNumber ]; +extern const TwsKeyNames wsKeyNames[ wsKeyNumber ]; #endif diff --git a/gui/wm/wsmkeys.h b/gui/wm/wsmkeys.h index f6f814b914..c016e035d4 100644 --- a/gui/wm/wsmkeys.h +++ b/gui/wm/wsmkeys.h @@ -3,7 +3,7 @@ #include "wskeys.h" -TwsKeyNames wsKeyNames[ wsKeyNumber ] = +const TwsKeyNames wsKeyNames[ wsKeyNumber ] = { { wsq, "q" }, { wsa, "a" }, { wsz, "z" }, { wsw, "w" }, { wss, "s" }, { wsx, "x" }, { wse, "e" }, { wsd, "d" }, { wsr, "r" }, { wsf, "f" }, { wsv, "v" }, { wst, "t" }, -- cgit v1.2.3