diff options
author | nijtmans <nijtmans> | 2007-01-03 05:06:25 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2007-01-03 05:06:25 (GMT) |
commit | 79954fb760d1f61cab0a9b4ce289c070819b89bc (patch) | |
tree | ee02b8a4aebc8b8d0adb8c18fad99e3cbea4c19a /generic/tkText.c | |
parent | cac34c03ac4f3b143325331ab94c25319c77707b (diff) | |
download | tk-79954fb760d1f61cab0a9b4ce289c070819b89bc.zip tk-79954fb760d1f61cab0a9b4ce289c070819b89bc.tar.gz tk-79954fb760d1f61cab0a9b4ce289c070819b89bc.tar.bz2 |
various "const" additions, in line with TIP #27
Diffstat (limited to 'generic/tkText.c')
-rw-r--r-- | generic/tkText.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkText.c b/generic/tkText.c index ca1626d..77b30e5 100644 --- a/generic/tkText.c +++ b/generic/tkText.c @@ -13,7 +13,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkText.c,v 1.71 2006/10/17 10:21:49 patthoyts Exp $ + * RCS: @(#) $Id: tkText.c,v 1.72 2007/01/03 05:06:27 nijtmans Exp $ */ #include "default.h" @@ -111,7 +111,7 @@ static Tk_ObjCustomOption lineOption = { * Information used to parse text configuration options: */ -static Tk_OptionSpec optionSpecs[] = { +static const Tk_OptionSpec optionSpecs[] = { {TK_OPTION_BOOLEAN, "-autoseparators", "autoSeparators", "AutoSeparators", DEF_TEXT_AUTO_SEPARATORS, -1, Tk_Offset(TkText, autoSeparators), 0, 0, 0}, |