summaryrefslogtreecommitdiffstats
path: root/win/tkWinTest.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2007-01-18 23:56:43 (GMT)
committernijtmans <nijtmans>2007-01-18 23:56:43 (GMT)
commit37fce39d44a1d160664bc0b56e21d5a92999d243 (patch)
tree14d4b70e0f8f510d7c3dd57fd689e8587d0d74e1 /win/tkWinTest.c
parent2ad95dd3a686c81720b60b67494f1c25178a7d0b (diff)
downloadtk-37fce39d44a1d160664bc0b56e21d5a92999d243.zip
tk-37fce39d44a1d160664bc0b56e21d5a92999d243.tar.gz
tk-37fce39d44a1d160664bc0b56e21d5a92999d243.tar.bz2
various "const" additions, in line with TIP #27
Diffstat (limited to 'win/tkWinTest.c')
-rw-r--r--win/tkWinTest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinTest.c b/win/tkWinTest.c
index 195605a..d73f159 100644
--- a/win/tkWinTest.c
+++ b/win/tkWinTest.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkWinTest.c,v 1.11 2005/12/09 00:48:54 das Exp $
+ * RCS: @(#) $Id: tkWinTest.c,v 1.12 2007/01/18 23:56:44 nijtmans Exp $
*/
#include "tkWinInt.h"
@@ -237,7 +237,7 @@ TestwineventCmd(
UINT message;
WPARAM wParam;
LPARAM lParam;
- static TkStateMap messageMap[] = {
+ static const TkStateMap messageMap[] = {
{WM_LBUTTONDOWN, "WM_LBUTTONDOWN"},
{WM_LBUTTONUP, "WM_LBUTTONUP"},
{WM_CHAR, "WM_CHAR"},