summaryrefslogtreecommitdiffstats
path: root/generic/tkTextIndex.c
diff options
context:
space:
mode:
authorfvogel <fvogel@noemail.net>2015-04-08 19:32:52 (GMT)
committerfvogel <fvogel@noemail.net>2015-04-08 19:32:52 (GMT)
commite1ae48ff45b55cbc4ae6bea2879ed40ae7cf47ab (patch)
tree47be76c99647e28745efb6257576956214084391 /generic/tkTextIndex.c
parentc2fcb222a8eeec4de0eca37c0a5be3fae93ef0af (diff)
downloadtk-e1ae48ff45b55cbc4ae6bea2879ed40ae7cf47ab.zip
tk-e1ae48ff45b55cbc4ae6bea2879ed40ae7cf47ab.tar.gz
tk-e1ae48ff45b55cbc4ae6bea2879ed40ae7cf47ab.tar.bz2
Fixed crash with display wordstart - Bug [e4ed00a954]
FossilOrigin-Name: c6263db4688221bc5e66a0af20d29106ef99f21b
Diffstat (limited to 'generic/tkTextIndex.c')
-rw-r--r--generic/tkTextIndex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkTextIndex.c b/generic/tkTextIndex.c
index 13f3957..b2919d5 100644
--- a/generic/tkTextIndex.c
+++ b/generic/tkTextIndex.c
@@ -2340,7 +2340,7 @@ StartEnd(
int offset;
if (modifier == TKINDEX_DISPLAY) {
- TkTextIndexForwChars(NULL, indexPtr, 0, indexPtr,
+ TkTextIndexForwChars(textPtr, indexPtr, 0, indexPtr,
COUNT_DISPLAY_INDICES);
}