summaryrefslogtreecommitdiffstats
path: root/generic/tkTextBTree.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-02 15:26:18 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-02 15:26:18 (GMT)
commit3213b080b096a2603f686f8bf239d886ee2fdace (patch)
tree6da61b569629623104e46687bb8426a8607a869c /generic/tkTextBTree.c
parentdb1813195a62a66315c34ba2b4a341f3efb331a9 (diff)
downloadtk-3213b080b096a2603f686f8bf239d886ee2fdace.zip
tk-3213b080b096a2603f686f8bf239d886ee2fdace.tar.gz
tk-3213b080b096a2603f686f8bf239d886ee2fdace.tar.bz2
Get rid of underlineObj/overstrikgObj/elideObj int text tags
Diffstat (limited to 'generic/tkTextBTree.c')
-rw-r--r--generic/tkTextBTree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkTextBTree.c b/generic/tkTextBTree.c
index b03b045..e609126 100644
--- a/generic/tkTextBTree.c
+++ b/generic/tkTextBTree.c
@@ -3616,7 +3616,7 @@ TkTextIsElided(
summaryPtr = summaryPtr->nextPtr) {
if (summaryPtr->toggleCount & 1) {
tagPtr = summaryPtr->tagPtr;
- if (tagPtr->elideObj != NULL) {
+ if (tagPtr->elide >= 0) {
infoPtr->tagPtrs[tagPtr->priority] = tagPtr;
infoPtr->tagCnts[tagPtr->priority] +=
summaryPtr->toggleCount;