summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2024-07-30 20:06:01 (GMT)
committerfvogel <fvogelnew1@free.fr>2024-07-30 20:06:01 (GMT)
commit36ede1dd0d1bd3eca91633344b9077144ad8940e (patch)
tree0ab49dcf889b508852e7c2967e1f9efa294603e0
parent1f41ef62ce515b25a1b894305151e89972f33443 (diff)
downloadtk-36ede1dd0d1bd3eca91633344b9077144ad8940e.zip
tk-36ede1dd0d1bd3eca91633344b9077144ad8940e.tar.gz
tk-36ede1dd0d1bd3eca91633344b9077144ad8940e.tar.bz2
Fix [dd192d6f30]: Error in win/tkWinGDI.c introduced in [0a5475bfdbb600c8]. Thanks to cjmcdonald.
-rw-r--r--win/tkWinGDI.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tkWinGDI.c b/win/tkWinGDI.c
index 2cded45..4d0c129 100644
--- a/win/tkWinGDI.c
+++ b/win/tkWinGDI.c
@@ -955,9 +955,9 @@ static int GdiOval(
hDC = printDC;
if ((Tcl_GetIntFromObj(interp, objv[2], &x1) != TCL_OK)
- || (Tcl_GetIntFromObj(interp, objv[2], &y1) != TCL_OK)
- || (Tcl_GetIntFromObj(interp, objv[3], &x2) != TCL_OK)
- || (Tcl_GetIntFromObj(interp, objv[4], &y2) != TCL_OK)) {
+ || (Tcl_GetIntFromObj(interp, objv[3], &y1) != TCL_OK)
+ || (Tcl_GetIntFromObj(interp, objv[4], &x2) != TCL_OK)
+ || (Tcl_GetIntFromObj(interp, objv[5], &y2) != TCL_OK)) {
return TCL_ERROR;
}
if (x1 > x2) {