summaryrefslogtreecommitdiffstats
path: root/generic/tkTextWind.c
diff options
context:
space:
mode:
authornijtmans <nijtmans@noemail.net>2007-01-03 05:06:25 (GMT)
committernijtmans <nijtmans@noemail.net>2007-01-03 05:06:25 (GMT)
commita813ed7dbedb22794ef49349d34c01446fe01bf3 (patch)
treeee02b8a4aebc8b8d0adb8c18fad99e3cbea4c19a /generic/tkTextWind.c
parent20bc56dc6b930904a8dfaccf986fbc6db4603883 (diff)
downloadtk-a813ed7dbedb22794ef49349d34c01446fe01bf3.zip
tk-a813ed7dbedb22794ef49349d34c01446fe01bf3.tar.gz
tk-a813ed7dbedb22794ef49349d34c01446fe01bf3.tar.bz2
various "const" additions, in line with TIP #27
FossilOrigin-Name: 9d88e9902fbcb520e408f0ffbdc55d52f0faa2a6
Diffstat (limited to 'generic/tkTextWind.c')
-rw-r--r--generic/tkTextWind.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkTextWind.c b/generic/tkTextWind.c
index 0988fee..73d8973 100644
--- a/generic/tkTextWind.c
+++ b/generic/tkTextWind.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: tkTextWind.c,v 1.17 2005/11/17 10:57:35 dkf Exp $
+ * RCS: @(#) $Id: tkTextWind.c,v 1.18 2007/01/03 05:06:26 nijtmans Exp $
*/
#include "tk.h"
@@ -102,7 +102,7 @@ typedef enum {
* Information used for parsing window configuration options:
*/
-static Tk_OptionSpec optionSpecs[] = {
+static const Tk_OptionSpec optionSpecs[] = {
{TK_OPTION_STRING_TABLE, "-align", NULL, NULL,
"center", -1, Tk_Offset(TkTextEmbWindow, align),
0, (ClientData) alignStrings, 0},