[MPlayer-cvslog] r25272 - in trunk/gui/wm: wskeys.h wsmkeys.h
reimar
subversion at mplayerhq.hu
Sun Dec 2 22:48:45 CET 2007
Author: reimar
Date: Sun Dec 2 22:48:45 2007
New Revision: 25272
Log:
Make wsKeyNames array const
Modified:
trunk/gui/wm/wskeys.h
trunk/gui/wm/wsmkeys.h
Modified: trunk/gui/wm/wskeys.h
==============================================================================
--- trunk/gui/wm/wskeys.h (original)
+++ trunk/gui/wm/wskeys.h Sun Dec 2 22:48:45 2007
@@ -159,7 +159,7 @@ typedef struct
const char * name;
} TwsKeyNames;
-extern TwsKeyNames wsKeyNames[ wsKeyNumber ];
+extern const TwsKeyNames wsKeyNames[ wsKeyNumber ];
#endif
Modified: trunk/gui/wm/wsmkeys.h
==============================================================================
--- trunk/gui/wm/wsmkeys.h (original)
+++ trunk/gui/wm/wsmkeys.h Sun Dec 2 22:48:45 2007
@@ -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" },
More information about the MPlayer-cvslog
mailing list