diff options
author | fvogel <fvogelnew1@free.fr> | 2015-07-13 10:10:03 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2015-07-13 10:10:03 (GMT) |
commit | def76faf990796ed8c158a61bd05d4b64ad17984 (patch) | |
tree | ebd7f3f0d87de685c4d40b3fd92a07756656330b /generic/tkTextIndex.c | |
parent | cca425ff8bcd56986a3f6e11dd364b7b954dc121 (diff) | |
parent | 1b214cf0648595eb130820824655fec78109ed6c (diff) | |
download | tk-def76faf990796ed8c158a61bd05d4b64ad17984.zip tk-def76faf990796ed8c158a61bd05d4b64ad17984.tar.gz tk-def76faf990796ed8c158a61bd05d4b64ad17984.tar.bz2 |
Fixed bug [3f1f79abcf] - Text widget crash when seeing or bboxing (or selecting, moving the cursor...) in elided text
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 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) { |