diff options
author | fvogel <fvogel@noemail.net> | 2016-01-09 08:29:15 (GMT) |
---|---|---|
committer | fvogel <fvogel@noemail.net> | 2016-01-09 08:29:15 (GMT) |
commit | dd1f3bef0aa9ee1de099fc7ace7c0a2be4445573 (patch) | |
tree | 0e9c50dd729761cfd17cb8412063e188f0df22d9 /generic | |
parent | 094a8207cdb7872adf971152ae5b3878d5f9958c (diff) | |
download | tk-dd1f3bef0aa9ee1de099fc7ace7c0a2be4445573.zip tk-dd1f3bef0aa9ee1de099fc7ace7c0a2be4445573.tar.gz tk-dd1f3bef0aa9ee1de099fc7ace7c0a2be4445573.tar.bz2 |
-spacing[123] use TK_OPTION_NULL_OK instead of TK_OPTION_DONT_SET_DEFAULT
FossilOrigin-Name: 9341848de5114fadc5b3ad7109d3a222d0a65029
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkText.c | 6 |
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}, |