diff options
author | dgp@users.sourceforge.net <dgp> | 2015-02-06 16:03:10 (GMT) |
---|---|---|
committer | dgp@users.sourceforge.net <dgp> | 2015-02-06 16:03:10 (GMT) |
commit | 472dbf8ac966d002600059d8537b990f1d60f9af (patch) | |
tree | 0f3c90075c71c9d625d0e87aa372e58eeca4e432 | |
parent | c8861abdbb178764cc393e7c503fdbe9152f63b9 (diff) | |
download | tk-472dbf8ac966d002600059d8537b990f1d60f9af.zip tk-472dbf8ac966d002600059d8537b990f1d60f9af.tar.gz tk-472dbf8ac966d002600059d8537b990f1d60f9af.tar.bz2 |
[c9535cd7ce] GetIndex() failed to route all successful exits through code
that writes a result through the canCachePtr.
-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; } /* |