aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--generic/Rectangle.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/Rectangle.c b/generic/Rectangle.c
index 81f3258..7e18dbe 100644
--- a/generic/Rectangle.c
+++ b/generic/Rectangle.c
@@ -158,7 +158,8 @@ Init(Item item,
Tcl_AppendResult(wi->interp, " rectangle coords expected", NULL);
return ZN_ERROR;
}
- if (ZnParseCoordList(wi, (*args)[0], &points, NULL, &num_points) == ZN_ERROR) {
+ if (ZnParseCoordList(wi, (*args)[0], &points,
+ NULL, &num_points, NULL) == ZN_ERROR) {
return ZN_ERROR;
}
if (num_points != 2) {