summaryrefslogtreecommitdiffstats
path: root/generic/tkTextIndex.c
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2015-02-06 16:35:48 (GMT)
committerdgp@users.sourceforge.net <dgp>2015-02-06 16:35:48 (GMT)
commit40da01824e19e597b92a1c16d621962b0b8ce6db (patch)
tree7943e3d2dbe555429b25b405ab27eb356671895c /generic/tkTextIndex.c
parent7b43517da58ae06b61467a8abbcbf89b958f56a6 (diff)
parent472dbf8ac966d002600059d8537b990f1d60f9af (diff)
downloadtk-40da01824e19e597b92a1c16d621962b0b8ce6db.zip
tk-40da01824e19e597b92a1c16d621962b0b8ce6db.tar.gz
tk-40da01824e19e597b92a1c16d621962b0b8ce6db.tar.bz2
merge 8.5
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 25b4666..13f3957 100644
--- a/generic/tkTextIndex.c
+++ b/generic/tkTextIndex.c
@@ -774,11 +774,11 @@ GetIndex(
}
if (TkTextWindowIndex(textPtr, string, indexPtr) != 0) {
- return TCL_OK;
+ goto done;
}
if (TkTextImageIndex(textPtr, string, indexPtr) != 0) {
- return TCL_OK;
+ goto done;
}
/*