diff options
Diffstat (limited to 'generic')
-rw-r--r-- | generic/Triangles.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/Triangles.c b/generic/Triangles.c index a1b88d7..3c18eff 100644 --- a/generic/Triangles.c +++ b/generic/Triangles.c @@ -134,7 +134,8 @@ Init(Item item, Tcl_AppendResult(wi->interp, " triangles 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 < 3) { |