summaryrefslogtreecommitdiffstats
path: root/generic/tkTextIndex.c
diff options
context:
space:
mode:
authordgp <dgp@noemail.net>2015-02-06 16:04:22 (GMT)
committerdgp <dgp@noemail.net>2015-02-06 16:04:22 (GMT)
commitb6ba7e3bc852810bd4e67215b36d57d80dc7d0fe (patch)
tree21d673da4723132aca9daedd61ee13cd2bc5eed0 /generic/tkTextIndex.c
parent9d055baa830def0ee94edcb9b38fcf11b0a12783 (diff)
parentfcfdc36f4c0ddebf069145fcc1c1e58eee3cbf3a (diff)
downloadtk-b6ba7e3bc852810bd4e67215b36d57d80dc7d0fe.zip
tk-b6ba7e3bc852810bd4e67215b36d57d80dc7d0fe.tar.gz
tk-b6ba7e3bc852810bd4e67215b36d57d80dc7d0fe.tar.bz2
[c9535cd7ce] GetIndex() failed to route all successful exits through code that writes a result through the canCachePtr.
FossilOrigin-Name: 466b1190a27ed7bef60aae515c0be2a755910213
Diffstat (limited to 'generic/tkTextIndex.c')
-rw-r--r--generic/tkTextIndex.c4
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;
}
/*