summaryrefslogtreecommitdiffstats
path: root/generic/tkCanvas.c
diff options
context:
space:
mode:
authorferrieux <ferrieux@users.sourceforge.net>2011-11-14 17:49:16 (GMT)
committerferrieux <ferrieux@users.sourceforge.net>2011-11-14 17:49:16 (GMT)
commit3f1d39959622bf80c87716c3fe493a5487e61a6d (patch)
treecad47077ef7a71580e33296883f066deb136cbb6 /generic/tkCanvas.c
parent7b772947d121112eed1cdc34c8ec0b57a3b3b208 (diff)
downloadtk-3f1d39959622bf80c87716c3fe493a5487e61a6d.zip
tk-3f1d39959622bf80c87716c3fe493a5487e61a6d.tar.gz
tk-3f1d39959622bf80c87716c3fe493a5487e61a6d.tar.bz2
[Bug 3437816]: Missing TCL_ERROR return in [canvas lower].
Diffstat (limited to 'generic/tkCanvas.c')
-rw-r--r--generic/tkCanvas.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/tkCanvas.c b/generic/tkCanvas.c
index f244aad..14d8261 100644
--- a/generic/tkCanvas.c
+++ b/generic/tkCanvas.c
@@ -1649,6 +1649,7 @@ CanvasWidgetCmd(
if (itemPtr == NULL) {
Tcl_AppendResult(interp, "tag \"", Tcl_GetString(objv[3]),
"\" doesn't match any items", NULL);
+ result = TCL_ERROR;
goto done;
}
itemPtr = itemPtr->prevPtr;