summaryrefslogtreecommitdiffstats
path: root/generic/tkTextIndex.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2015-02-06 16:35:48 (GMT)
committerdgp <dgp@users.sourceforge.net>2015-02-06 16:35:48 (GMT)
commit7fa5cdb9c367a0587e135892aa12345045fb2b92 (patch)
tree2e399b6ac70b26c14f70092ed8efc1f4fa0e82da /generic/tkTextIndex.c
parentcd43dc5d400d4646a76dfdb37a555d7c8d6bda6b (diff)
parente9043031de3669be8a342498ecbc78cfdc67f054 (diff)
downloadtk-7fa5cdb9c367a0587e135892aa12345045fb2b92.zip
tk-7fa5cdb9c367a0587e135892aa12345045fb2b92.tar.gz
tk-7fa5cdb9c367a0587e135892aa12345045fb2b92.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;
}
/*