summaryrefslogtreecommitdiffstats
path: root/generic/tkTest.c
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2018-04-30 18:49:38 (GMT)
committerfvogel <fvogelnew1@free.fr>2018-04-30 18:49:38 (GMT)
commit62b2bbacbcc7d29b7af60e5709fe8b5df91b05be (patch)
tree39894fad77a2b0c1179a2caa1824e619f9ad76da /generic/tkTest.c
parent6f8b1791a5659b74ebf1dda6c2107dd4bb26cdc1 (diff)
downloadtk-62b2bbacbcc7d29b7af60e5709fe8b5df91b05be.zip
tk-62b2bbacbcc7d29b7af60e5709fe8b5df91b05be.tar.gz
tk-62b2bbacbcc7d29b7af60e5709fe8b5df91b05be.tar.bz2
Fix [ddeef0e069]: Some canvImg tests fail on macOS
Diffstat (limited to 'generic/tkTest.c')
-rw-r--r--generic/tkTest.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/generic/tkTest.c b/generic/tkTest.c
index fa9e073..1fa461e 100644
--- a/generic/tkTest.c
+++ b/generic/tkTest.c
@@ -1550,9 +1550,8 @@ ImageDisplay(
TImageInstance *instPtr = (TImageInstance *) clientData;
char buffer[200 + TCL_INTEGER_SPACE * 6];
- sprintf(buffer, "%s display %d %d %d %d %d %d",
- instPtr->masterPtr->imageName, imageX, imageY, width, height,
- drawableX, drawableY);
+ sprintf(buffer, "%s display %d %d %d %d",
+ instPtr->masterPtr->imageName, imageX, imageY, width, height);
Tcl_SetVar2(instPtr->masterPtr->interp, instPtr->masterPtr->varName, NULL,
buffer, TCL_GLOBAL_ONLY|TCL_APPEND_VALUE|TCL_LIST_ELEMENT);
if (width > (instPtr->masterPtr->width - imageX)) {