summaryrefslogtreecommitdiffstats
path: root/win/tkWinWm.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-24 20:59:46 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-24 20:59:46 (GMT)
commitc6f6c74ebb2092a8b0b4b2e5c805d22253d19e33 (patch)
tree0d2a299dbd784e0ee28eddd73a7ed12bdaa85b9d /win/tkWinWm.c
parent524f59a75aab742a5ce54b6497bec8e3bda8dced (diff)
downloadtk-c6f6c74ebb2092a8b0b4b2e5c805d22253d19e33.zip
tk-c6f6c74ebb2092a8b0b4b2e5c805d22253d19e33.tar.gz
tk-c6f6c74ebb2092a8b0b4b2e5c805d22253d19e33.tar.bz2
Change XSetCommand signature to match Xorg, needed for Cygwin
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 ac4ea34..32768cf 100644
--- a/win/tkWinWm.c
+++ b/win/tkWinWm.c
@@ -3284,7 +3284,7 @@ WmCommandCmd(tkwin, winPtr, interp, objc, objv)
wmPtr->cmdArgc = cmdArgc;
wmPtr->cmdArgv = cmdArgv;
if (!(wmPtr->flags & WM_NEVER_MAPPED)) {
- XSetCommand(winPtr->display, winPtr->window, cmdArgv, cmdArgc);
+ XSetCommand(winPtr->display, winPtr->window, (char **) cmdArgv, cmdArgc);
}
return TCL_OK;
}