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 | d224bcbbfc4193df3eef7a54d4f41892eb7de0c7 (patch) | |
tree | ea1eaa5fd38eca927c9576e98e77fe3bd08e1aa9 /generic | |
parent | 3cbff9f968ec8d9d215341a263bd40903b8a782e (diff) | |
download | tk-d224bcbbfc4193df3eef7a54d4f41892eb7de0c7.zip tk-d224bcbbfc4193df3eef7a54d4f41892eb7de0c7.tar.gz tk-d224bcbbfc4193df3eef7a54d4f41892eb7de0c7.tar.bz2 |
Fixed bug [3f1f79abcf] - Text widget crash when seeing or bboxing (or selecting, moving the cursor...) in elided text
Diffstat (limited to 'generic')
-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) { |