diff options
author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-05-24 20:59:46 (GMT) |
---|---|---|
committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-05-24 20:59:46 (GMT) |
commit | 897b49ab9d4dee6d1c2b452063477c6d79b0c181 (patch) | |
tree | 0d2a299dbd784e0ee28eddd73a7ed12bdaa85b9d /win/tkWinWm.c | |
parent | b608245415a5e7e58008bf2d798c324d5b876d9d (diff) | |
download | tk-897b49ab9d4dee6d1c2b452063477c6d79b0c181.zip tk-897b49ab9d4dee6d1c2b452063477c6d79b0c181.tar.gz tk-897b49ab9d4dee6d1c2b452063477c6d79b0c181.tar.bz2 |
Change XSetCommand signature to match Xorg, needed for Cygwin
Diffstat (limited to 'win/tkWinWm.c')
-rw-r--r-- | win/tkWinWm.c | 2 |
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; } |