mirror of https://github.com/mpv-player/mpv
Make wsKeyNames array const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25272 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
4ba28aa023
commit
9016716700
|
@ -159,7 +159,7 @@ typedef struct
|
|||
const char * name;
|
||||
} TwsKeyNames;
|
||||
|
||||
extern TwsKeyNames wsKeyNames[ wsKeyNumber ];
|
||||
extern const TwsKeyNames wsKeyNames[ wsKeyNumber ];
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -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" },
|
||||
|
|
Loading…
Reference in New Issue