diff options
author | fvogel <fvogel@noemail.net> | 2015-07-13 10:15:37 (GMT) |
---|---|---|
committer | fvogel <fvogel@noemail.net> | 2015-07-13 10:15:37 (GMT) |
commit | 62ff335b10d663fa5bf255ae29e3dd4426fd5021 (patch) | |
tree | d70d1a6b047c6e84d8094bb649a2dc979f78d867 /generic/tkTextIndex.c | |
parent | 46ab1479630187ac50b77c235b877ece64a136f3 (diff) | |
parent | 2cbae06f0a180ef80f794ea4d056b79676d4dd8c (diff) | |
download | tk-62ff335b10d663fa5bf255ae29e3dd4426fd5021.zip tk-62ff335b10d663fa5bf255ae29e3dd4426fd5021.tar.gz tk-62ff335b10d663fa5bf255ae29e3dd4426fd5021.tar.bz2 |
Fixed bug [3f1f79abcf] - Text widget crash when seeing or bboxing (or selecting, moving the cursor...) in elided text
FossilOrigin-Name: ec62978f685e92891e9691bd7166847afbd3c7aa
Diffstat (limited to 'generic/tkTextIndex.c')
-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 564b4c3..8820191 100644 --- a/generic/tkTextIndex.c +++ b/generic/tkTextIndex.c @@ -1683,7 +1683,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) { |