diff options
author | dgp <dgp@users.sourceforge.net> | 2015-02-06 16:03:10 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2015-02-06 16:03:10 (GMT) |
commit | 7a8639a698a6d20055993601f017396c8f440baf (patch) | |
tree | f9080c89f911cb1e717447c51c1f7815414ae817 /generic/tkTextIndex.c | |
parent | 216cb919e065e62cf7e2b4cf34ab0208a279e774 (diff) | |
download | tk-7a8639a698a6d20055993601f017396c8f440baf.zip tk-7a8639a698a6d20055993601f017396c8f440baf.tar.gz tk-7a8639a698a6d20055993601f017396c8f440baf.tar.bz2 |
[c9535cd7ce] GetIndex() failed to route all successful exits through code
that writes a result through the canCachePtr.
Diffstat (limited to 'generic/tkTextIndex.c')
-rw-r--r-- | generic/tkTextIndex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkTextIndex.c b/generic/tkTextIndex.c index 70c94db..1b9d2a5 100644 --- a/generic/tkTextIndex.c +++ b/generic/tkTextIndex.c @@ -771,11 +771,11 @@ GetIndex( } if (TkTextWindowIndex(textPtr, string, indexPtr) != 0) { - return TCL_OK; + goto done; } if (TkTextImageIndex(textPtr, string, indexPtr) != 0) { - return TCL_OK; + goto done; } /* |