diff options
author | fvogel <fvogel@noemail.net> | 2015-07-10 21:59:14 (GMT) |
---|---|---|
committer | fvogel <fvogel@noemail.net> | 2015-07-10 21:59:14 (GMT) |
commit | 1f74ace35bfc0257044979d9d719adc4335364d5 (patch) | |
tree | ea1eaa5fd38eca927c9576e98e77fe3bd08e1aa9 /generic/tkTextIndex.c | |
parent | 5104b50b9beb2a663c3136dc6d96a8ee708febb1 (diff) | |
download | tk-1f74ace35bfc0257044979d9d719adc4335364d5.zip tk-1f74ace35bfc0257044979d9d719adc4335364d5.tar.gz tk-1f74ace35bfc0257044979d9d719adc4335364d5.tar.bz2 |
Fixed bug [3f1f79abcf] - Text widget crash when seeing or bboxing (or selecting, moving the cursor...) in elided text
FossilOrigin-Name: 716fe4a4132566e6600a7edbbd5315ffab7b020b
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) { |