summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2015-04-09 12:36:07 (GMT)
committerdgp@users.sourceforge.net <dgp>2015-04-09 12:36:07 (GMT)
commitae2b18f85d0a32d08261e004bcadd2ee461a1320 (patch)
tree6352c37d0f3b40235c5d96f791118a16a26f747c /generic
parentc8a5acf55af6e442da57657df01d8d51410932be (diff)
parent67a879fc56c99ac20a282663cdf3449247eab86e (diff)
downloadtk-ae2b18f85d0a32d08261e004bcadd2ee461a1320.zip
tk-ae2b18f85d0a32d08261e004bcadd2ee461a1320.tar.gz
tk-ae2b18f85d0a32d08261e004bcadd2ee461a1320.tar.bz2
[e4ed00a954] Fixed crash with display wordstart
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);
}