summaryrefslogtreecommitdiffstats
path: root/generic/tkText.c
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2016-01-09 08:29:15 (GMT)
committerfvogel <fvogelnew1@free.fr>2016-01-09 08:29:15 (GMT)
commit2987950f24f7b2fda46de8d528a3693ccf7943b9 (patch)
tree0e9c50dd729761cfd17cb8412063e188f0df22d9 /generic/tkText.c
parentcf5e1ec939d60bdf2c3440acc22e33dcadfb5dc0 (diff)
downloadtk-2987950f24f7b2fda46de8d528a3693ccf7943b9.zip
tk-2987950f24f7b2fda46de8d528a3693ccf7943b9.tar.gz
tk-2987950f24f7b2fda46de8d528a3693ccf7943b9.tar.bz2
-spacing[123] use TK_OPTION_NULL_OK instead of TK_OPTION_DONT_SET_DEFAULT
Diffstat (limited to 'generic/tkText.c')
-rw-r--r--generic/tkText.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkText.c b/generic/tkText.c
index 5694700..f884239 100644
--- a/generic/tkText.c
+++ b/generic/tkText.c
@@ -202,13 +202,13 @@ static const Tk_OptionSpec optionSpecs[] = {
DEF_TEXT_SET_GRID, -1, Tk_Offset(TkText, setGrid), 0, 0, 0},
{TK_OPTION_PIXELS, "-spacing1", "spacing1", "Spacing",
DEF_TEXT_SPACING1, -1, Tk_Offset(TkText, spacing1),
- TK_OPTION_DONT_SET_DEFAULT, 0 , TK_TEXT_LINE_GEOMETRY },
+ TK_OPTION_NULL_OK, 0 , TK_TEXT_LINE_GEOMETRY },
{TK_OPTION_PIXELS, "-spacing2", "spacing2", "Spacing",
DEF_TEXT_SPACING2, -1, Tk_Offset(TkText, spacing2),
- TK_OPTION_DONT_SET_DEFAULT, 0 , TK_TEXT_LINE_GEOMETRY },
+ TK_OPTION_NULL_OK, 0 , TK_TEXT_LINE_GEOMETRY },
{TK_OPTION_PIXELS, "-spacing3", "spacing3", "Spacing",
DEF_TEXT_SPACING3, -1, Tk_Offset(TkText, spacing3),
- TK_OPTION_DONT_SET_DEFAULT, 0 , TK_TEXT_LINE_GEOMETRY },
+ TK_OPTION_NULL_OK, 0 , TK_TEXT_LINE_GEOMETRY },
{TK_OPTION_CUSTOM, "-startline", NULL, NULL,
NULL, -1, Tk_Offset(TkText, start), TK_OPTION_NULL_OK,
(ClientData) &lineOption, TK_TEXT_LINE_RANGE},