summaryrefslogtreecommitdiffstats
path: root/win/tkWinWm.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-09-19 08:24:26 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-09-19 08:24:26 (GMT)
commitd0fb46d3fe03ace2bdb65f246a83b57388a6d20b (patch)
tree23357715703ff6530c3a096459127eb54d72ac3c /win/tkWinWm.c
parent66c995f37fca5f1b4b6891c504e9313e0766e41a (diff)
downloadtk-d0fb46d3fe03ace2bdb65f246a83b57388a6d20b.zip
tk-d0fb46d3fe03ace2bdb65f246a83b57388a6d20b.tar.gz
tk-d0fb46d3fe03ace2bdb65f246a83b57388a6d20b.tar.bz2
Compile win32 binaries with -DTCL_NO_DEPRECATED, and fix gcc compiler warning
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 e353813..dc5d4d9 100644
--- a/win/tkWinWm.c
+++ b/win/tkWinWm.c
@@ -1681,7 +1681,7 @@ ReadIconOrCursorFromFile(
(int) lpIDE[i].dwBytesInRes);
if (dwBytesRead != lpIDE[i].dwBytesInRes) {
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
- "error reading file: ", Tcl_PosixError(interp)));
+ "error reading file: %s", Tcl_PosixError(interp)));
goto readError;
}