diff options
author | dgp <dgp@users.sourceforge.net> | 2015-02-06 16:04:22 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2015-02-06 16:04:22 (GMT) |
commit | 75fec0b8d45c2b2151e5337213b8f122e0d6f025 (patch) | |
tree | 21d673da4723132aca9daedd61ee13cd2bc5eed0 /generic/tkTextIndex.c | |
parent | 7db8158e3ce0e6274a1436e4f969e28fbe905d19 (diff) | |
parent | e9043031de3669be8a342498ecbc78cfdc67f054 (diff) | |
download | tk-75fec0b8d45c2b2151e5337213b8f122e0d6f025.zip tk-75fec0b8d45c2b2151e5337213b8f122e0d6f025.tar.gz tk-75fec0b8d45c2b2151e5337213b8f122e0d6f025.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 55a4907..9914ea6 100644 --- a/generic/tkTextIndex.c +++ b/generic/tkTextIndex.c @@ -759,11 +759,11 @@ GetIndex( } if (TkTextWindowIndex(textPtr, string, indexPtr) != 0) { - return TCL_OK; + goto done; } if (TkTextImageIndex(textPtr, string, indexPtr) != 0) { - return TCL_OK; + goto done; } /* |