summaryrefslogtreecommitdiffstats
path: root/win/tkWinFont.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2007-01-18 23:56:43 (GMT)
committernijtmans <nijtmans>2007-01-18 23:56:43 (GMT)
commit70241ed12dcc2b7c07c8f6d0e14654db03632683 (patch)
tree14d4b70e0f8f510d7c3dd57fd689e8587d0d74e1 /win/tkWinFont.c
parent363c82a543b016cf30ea86ff60fcebcd66c64564 (diff)
downloadtk-70241ed12dcc2b7c07c8f6d0e14654db03632683.zip
tk-70241ed12dcc2b7c07c8f6d0e14654db03632683.tar.gz
tk-70241ed12dcc2b7c07c8f6d0e14654db03632683.tar.bz2
various "const" additions, in line with TIP #27
Diffstat (limited to 'win/tkWinFont.c')
-rw-r--r--win/tkWinFont.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinFont.c b/win/tkWinFont.c
index a86a6bd..2f5671b 100644
--- a/win/tkWinFont.c
+++ b/win/tkWinFont.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: tkWinFont.c,v 1.30 2007/01/12 10:41:23 dkf Exp $
+ * RCS: @(#) $Id: tkWinFont.c,v 1.31 2007/01/18 23:56:44 nijtmans Exp $
*/
#include "tkWinInt.h"
@@ -157,7 +157,7 @@ typedef struct CanUse {
* represent the system fonts and the numbers used by Windows.
*/
-static TkStateMap systemMap[] = {
+static const TkStateMap systemMap[] = {
{ANSI_FIXED_FONT, "ansifixed"},
{ANSI_VAR_FONT, "ansi"},
{DEVICE_DEFAULT_FONT, "device"},