git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed jpeg2000 problem
[swftools.git]
/
lib
/
art
/
art_svp_intersect.c
diff --git
a/lib/art/art_svp_intersect.c
b/lib/art/art_svp_intersect.c
index
6d25b4e
..
eefedbe
100644
(file)
--- 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",