summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2015-04-08 19:32:52 (GMT)
committerfvogel <fvogelnew1@free.fr>2015-04-08 19:32:52 (GMT)
commit18281d841cc01351755fbbda09b3ec6ce0a39255 (patch)
tree47be76c99647e28745efb6257576956214084391 /generic
parentf801eafc556ad7c6648d5da223a6563c99b998ca (diff)
downloadtk-18281d841cc01351755fbbda09b3ec6ce0a39255.zip
tk-18281d841cc01351755fbbda09b3ec6ce0a39255.tar.gz
tk-18281d841cc01351755fbbda09b3ec6ce0a39255.tar.bz2
Fixed crash with display wordstart - Bug [e4ed00a954]bug_e4ed00a954
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 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);
}