summaryrefslogtreecommitdiffstats
path: root/generic/tkText.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkText.c')
-rw-r--r--generic/tkText.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/generic/tkText.c b/generic/tkText.c
index eb9658e..a713e7e 100644
--- a/generic/tkText.c
+++ b/generic/tkText.c
@@ -215,14 +215,14 @@ static const Tk_OptionSpec optionSpecs[] = {
{TK_OPTION_BOOLEAN, "-setgrid", "setGrid", "SetGrid",
DEF_TEXT_SET_GRID, -1, Tk_Offset(TkText, setGrid), 0, 0, 0},
{TK_OPTION_PIXELS, "-spacing1", "spacing1", "Spacing",
- NULL, -1, Tk_Offset(TkText, spacing1),
- TK_OPTION_NULL_OK, 0 , TK_TEXT_LINE_GEOMETRY },
+ DEF_TEXT_SPACING1, -1, Tk_Offset(TkText, spacing1),
+ 0, 0 , TK_TEXT_LINE_GEOMETRY },
{TK_OPTION_PIXELS, "-spacing2", "spacing2", "Spacing",
- NULL, -1, Tk_Offset(TkText, spacing2),
- TK_OPTION_NULL_OK, 0 , TK_TEXT_LINE_GEOMETRY },
+ DEF_TEXT_SPACING2, -1, Tk_Offset(TkText, spacing2),
+ 0, 0 , TK_TEXT_LINE_GEOMETRY },
{TK_OPTION_PIXELS, "-spacing3", "spacing3", "Spacing",
- NULL, -1, Tk_Offset(TkText, spacing3),
- TK_OPTION_NULL_OK, 0 , TK_TEXT_LINE_GEOMETRY },
+ DEF_TEXT_SPACING3, -1, Tk_Offset(TkText, spacing3),
+ 0, 0 , TK_TEXT_LINE_GEOMETRY },
{TK_OPTION_CUSTOM, "-startline", NULL, NULL,
NULL, -1, Tk_Offset(TkText, start), TK_OPTION_NULL_OK,
&lineOption, TK_TEXT_LINE_RANGE},