Make wsKeyNames array const

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25272 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2007-12-02 21:48:45 +00:00
parent 4ba28aa023
commit 9016716700
2 changed files with 2 additions and 2 deletions

View File

@ -159,7 +159,7 @@ typedef struct
const char * name;
} TwsKeyNames;
extern TwsKeyNames wsKeyNames[ wsKeyNumber ];
extern const TwsKeyNames wsKeyNames[ wsKeyNumber ];
#endif

View File

@ -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" },