summaryrefslogtreecommitdiffstats
path: root/generic/tkInt.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-06-12 11:50:53 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-06-12 11:50:53 (GMT)
commitbdbec5671088fa3f28bd273e5987fc7a7aa5af29 (patch)
treec7b8fd27a7c5f7151157355cf8993e9b7d898c22 /generic/tkInt.h
parentb1e5b2f35860988dd0aad0342fdf06272864e30d (diff)
downloadtk-bdbec5671088fa3f28bd273e5987fc7a7aa5af29.zip
tk-bdbec5671088fa3f28bd273e5987fc7a7aa5af29.tar.gz
tk-bdbec5671088fa3f28bd273e5987fc7a7aa5af29.tar.bz2
More progress, implementing enhanced "-underline"
Diffstat (limited to 'generic/tkInt.h')
-rw-r--r--generic/tkInt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/generic/tkInt.h b/generic/tkInt.h
index 05f5eba..fc36c50 100644
--- a/generic/tkInt.h
+++ b/generic/tkInt.h
@@ -923,6 +923,9 @@ typedef struct {
#ifndef TCL_INDEX_NONE
# define TCL_INDEX_NONE (-1)
#endif
+#ifndef TCL_INDEX_END
+# define TCL_INDEX_END ((TkSizeT)-2)
+#endif
/* See TIP #577 */
#ifndef TCL_INDEX_ERROR
# define TCL_INDEX_ERROR 0x100