summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2015-07-13 10:15:37 (GMT)
committerfvogel <fvogelnew1@free.fr>2015-07-13 10:15:37 (GMT)
commit5f4df2650c00f3dcc60da4204242e9b659e756f3 (patch)
treed70d1a6b047c6e84d8094bb649a2dc979f78d867 /generic
parent978fa016faab5c802c8dc5a7d03d97590545e2e2 (diff)
parentdef76faf990796ed8c158a61bd05d4b64ad17984 (diff)
downloadtk-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.c2
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) {