diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-11-17 20:57:02 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-11-17 20:57:02 (GMT) |
commit | 25efdb60d009bd10bd0586744245c7bde17f40da (patch) | |
tree | 54d0e4baa0c7d20d1b73f27a1b3537fd82613f0d | |
parent | bf90364eb7e18c50416631c1dc5f6401871886df (diff) | |
download | tk-25efdb60d009bd10bd0586744245c7bde17f40da.zip tk-25efdb60d009bd10bd0586744245c7bde17f40da.tar.gz tk-25efdb60d009bd10bd0586744245c7bde17f40da.tar.bz2 |
[Bug 3437816]: Missing TCL_ERROR return in [canvas lower]
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | generic/tkCanvas.c | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2011-11-17 Alexandre Ferrieux <ferrieux@users.sourceforge.net> + + * generic/tkCanvas.c: [Bug 3437816]: Missing TCL_ERROR return + in [canvas lower]. + 2011-10-11 Jan Nijtmans <nijtmans@users.sf.net> * generic/tk.h: Add dummy user_data field to diff --git a/generic/tkCanvas.c b/generic/tkCanvas.c index 197f28e..8f9641f 100644 --- a/generic/tkCanvas.c +++ b/generic/tkCanvas.c @@ -1505,6 +1505,7 @@ CanvasWidgetCmd(clientData, interp, objc, objv) if (itemPtr == NULL) { Tcl_AppendResult(interp, "tag \"", Tcl_GetString(objv[3]), "\" doesn't match any items", (char *) NULL); + result = TCL_ERROR; goto done; } itemPtr = itemPtr->prevPtr; |