summaryrefslogtreecommitdiffstats
path: root/generic/tkText.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-01-19 11:55:12 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-01-19 11:55:12 (GMT)
commitf4afe0dd31452463068eee153f95725108b66aa3 (patch)
treeb4f7faecd519512fba36ca9b9d1bc276c71e113f /generic/tkText.c
parent9616cdddf38053c87e9968c99a4ea3cf8a7108dc (diff)
parent7d012900cd3eee5f14e3ebd061726ffa3510550f (diff)
downloadtk-f4afe0dd31452463068eee153f95725108b66aa3.zip
tk-f4afe0dd31452463068eee153f95725108b66aa3.tar.gz
tk-f4afe0dd31452463068eee153f95725108b66aa3.tar.bz2
Merge 8.7. int -> TkAlignMode where appropriate
Diffstat (limited to 'generic/tkText.c')
-rw-r--r--generic/tkText.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkText.c b/generic/tkText.c
index 0eb8d7f..78fe385 100644
--- a/generic/tkText.c
+++ b/generic/tkText.c
@@ -220,7 +220,7 @@ static const Tk_OptionSpec optionSpecs[] = {
TK_OPTION_NULL_OK, 0, TK_TEXT_LINE_GEOMETRY},
{TK_OPTION_STRING_TABLE, "-tabstyle", "tabStyle", "TabStyle",
DEF_TEXT_TABSTYLE, TCL_INDEX_NONE, offsetof(TkText, tabStyle),
- 0, tkTextTabStyleStrings, TK_TEXT_LINE_GEOMETRY},
+ TK_OPTION_ENUM_VAR, tkTextTabStyleStrings, TK_TEXT_LINE_GEOMETRY},
{TK_OPTION_STRING, "-takefocus", "takeFocus", "TakeFocus",
DEF_TEXT_TAKE_FOCUS, TCL_INDEX_NONE, offsetof(TkText, takeFocus),
TK_OPTION_NULL_OK, 0, 0},