summaryrefslogtreecommitdiffstats
path: root/win/tkWinWm.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-12-14 11:40:15 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-12-14 11:40:15 (GMT)
commit8120f40740be3169f0f1480cad4dd9e227dbfab6 (patch)
tree64dd52120c8b54a4046977fdea0c77a4ea62b31d /win/tkWinWm.c
parentac965ab71c64ec6afd00fe16118f10c6b73aac5c (diff)
downloadtk-8120f40740be3169f0f1480cad4dd9e227dbfab6.zip
tk-8120f40740be3169f0f1480cad4dd9e227dbfab6.tar.gz
tk-8120f40740be3169f0f1480cad4dd9e227dbfab6.tar.bz2
Fix wm-iconphoto-1.5.1 testcase on Windows
Diffstat (limited to 'win/tkWinWm.c')
-rw-r--r--win/tkWinWm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWinWm.c b/win/tkWinWm.c
index 4649191..a395a65 100644
--- a/win/tkWinWm.c
+++ b/win/tkWinWm.c
@@ -4205,7 +4205,7 @@ WmIconphotoCmd(
if (hIcon == NULL) {
FreeIconBlock(lpIR);
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
- "failed to create icon for \"%s\"",
+ "failed to create an iconphoto with image \"%s\"",
Tcl_GetString(objv[i])));
Tcl_SetErrorCode(interp, "TK", "WM", "ICONPHOTO", "ICON", NULL);
return TCL_ERROR;