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)
commit57f74363fd87a225f11e00e45c30f40efb7b7f83 (patch)
tree0e9c50dd729761cfd17cb8412063e188f0df22d9 /generic/tkText.c
parent474d53657e48deb9fca4801fbcea40db906d3c20 (diff)
downloadtk-57f74363fd87a225f11e00e45c30f40efb7b7f83.zip
tk-57f74363fd87a225f11e00e45c30f40efb7b7f83.tar.gz
tk-57f74363fd87a225f11e00e45c30f40efb7b7f83.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},