diff options
author | fvogel <fvogelnew1@free.fr> | 2015-07-10 21:59:14 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2015-07-10 21:59:14 (GMT) |
commit | 778f5eae47cc2fbefad2d06fa5603253fcfd8597 (patch) | |
tree | ea1eaa5fd38eca927c9576e98e77fe3bd08e1aa9 | |
parent | 498f83aef90d461803b7c8bce162a1abc3b90a79 (diff) | |
download | tk-778f5eae47cc2fbefad2d06fa5603253fcfd8597.zip tk-778f5eae47cc2fbefad2d06fa5603253fcfd8597.tar.gz tk-778f5eae47cc2fbefad2d06fa5603253fcfd8597.tar.bz2 |
Fixed bug [3f1f79abcf] - Text widget crash when seeing or bboxing (or selecting, moving the cursor...) in elided text
-rw-r--r-- | generic/tkTextIndex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkTextIndex.c b/generic/tkTextIndex.c index 6a60faf..b886975 100644 --- a/generic/tkTextIndex.c +++ b/generic/tkTextIndex.c @@ -1695,7 +1695,7 @@ IndexCountBytesOrdered( byteCount += segPtr->size; } - linePtr = indexPtr1->linePtr->nextPtr; + linePtr = TkBTreeNextLine(textPtr, indexPtr1->linePtr); while (linePtr != indexPtr2->linePtr) { for (segPtr = linePtr->segPtr; segPtr != NULL; segPtr = segPtr->nextPtr) { |