summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
Diffstat (limited to 'generic')
-rw-r--r--generic/tkCanvas.c1
1 files changed, 1 insertions, 0 deletions
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;