diff options
author | fvogel <fvogelnew1@free.fr> | 2015-07-13 10:15:37 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2015-07-13 10:15:37 (GMT) |
commit | 5f4df2650c00f3dcc60da4204242e9b659e756f3 (patch) | |
tree | d70d1a6b047c6e84d8094bb649a2dc979f78d867 /generic | |
parent | 978fa016faab5c802c8dc5a7d03d97590545e2e2 (diff) | |
parent | def76faf990796ed8c158a61bd05d4b64ad17984 (diff) | |
download | tk-5f4df2650c00f3dcc60da4204242e9b659e756f3.zip tk-5f4df2650c00f3dcc60da4204242e9b659e756f3.tar.gz tk-5f4df2650c00f3dcc60da4204242e9b659e756f3.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 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) { |