summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixWm.c
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2019-11-10 20:09:08 (GMT)
committerfvogel <fvogelnew1@free.fr>2019-11-10 20:09:08 (GMT)
commitc1711a576e24c000190039b0476642171a00736b (patch)
tree60b5d2c4d2b4ae6a634869f406278d38fb124a4a /unix/tkUnixWm.c
parent2d08ff857a9a0a9afc14825e7d33208a115e38dd (diff)
downloadtk-c1711a576e24c000190039b0476642171a00736b.zip
tk-c1711a576e24c000190039b0476642171a00736b.tar.gz
tk-c1711a576e24c000190039b0476642171a00736b.tar.bz2
Homogenize still further among platforms
Diffstat (limited to 'unix/tkUnixWm.c')
-rw-r--r--unix/tkUnixWm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tkUnixWm.c b/unix/tkUnixWm.c
index b284622..e81aa58 100644
--- a/unix/tkUnixWm.c
+++ b/unix/tkUnixWm.c
@@ -2450,7 +2450,7 @@ WmIconphotoCmd(
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
"failed to create an iconphoto with image \"%s\"",
Tcl_GetString(objv[i])));
- Tcl_SetErrorCode(interp, "TK", "WM", "ICONPHOTO", "PHOTO", NULL);
+ Tcl_SetErrorCode(interp, "TK", "WM", "ICONPHOTO", "IMAGE", NULL);
return TCL_ERROR;
}
Tk_PhotoGetSize(photo, &width, &height);