summaryrefslogtreecommitdiff
path: root/lib/art
diff options
context:
space:
mode:
authorkramm <kramm>2008-12-09 13:39:05 +0000
committerkramm <kramm>2008-12-09 13:39:05 +0000
commitcb219dabe7e390834eb9c09a3e1f02ce28550847 (patch)
tree7b9adcdfffdb551f642d27c055beb255ca85a196 /lib/art
parent4a2cafb58caa55701e588d44fd0ebb674d6a81c6 (diff)
small bugfix
Diffstat (limited to 'lib/art')
-rw-r--r--lib/art/art_svp_intersect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/art/art_svp_intersect.c b/lib/art/art_svp_intersect.c
index 6d25b4ef..eefedbef 100644
--- a/lib/art/art_svp_intersect.c
+++ b/lib/art/art_svp_intersect.c
@@ -309,7 +309,7 @@ art_svp_writer_rewind_add_point (ArtSvpWriter *self, int seg_id,
seg = &swr->svp->segs[seg_id];
- if(n_points &&
+ if(seg->n_points &&
seg->points[seg->n_points-1].x == x &&
seg->points[seg->n_points-1].y == y) {
//art_warn("duplicate point %.16f,%.16f in segment %08x\n",