diff options
author | dgp <dgp@users.sourceforge.net> | 2015-04-09 12:39:39 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2015-04-09 12:39:39 (GMT) |
commit | 3f7de958795b3d01851e611f2aaca65e3ab9e196 (patch) | |
tree | 24e00ba54c7b8964f630041fe61d4dfc01937344 /generic | |
parent | a5834870c9b90076e5c2c5d249f51d44d6c4b0c1 (diff) | |
parent | f834b107eaf34a513bc41be49e0ad054af11cc6a (diff) | |
download | tk-3f7de958795b3d01851e611f2aaca65e3ab9e196.zip tk-3f7de958795b3d01851e611f2aaca65e3ab9e196.tar.gz tk-3f7de958795b3d01851e611f2aaca65e3ab9e196.tar.bz2 |
[e4ed00a954] Fixed crash with display wordstart
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 70f74fb..418b934 100644 --- a/generic/tkTextIndex.c +++ b/generic/tkTextIndex.c @@ -2327,7 +2327,7 @@ StartEnd( int offset; if (modifier == TKINDEX_DISPLAY) { - TkTextIndexForwChars(NULL, indexPtr, 0, indexPtr, + TkTextIndexForwChars(textPtr, indexPtr, 0, indexPtr, COUNT_DISPLAY_INDICES); } |