git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
numerous bigfixes in stroke->polygon conversion
[swftools.git]
/
lib
/
gfxtools.c
diff --git
a/lib/gfxtools.c
b/lib/gfxtools.c
index
c9b8153
..
f754379
100644
(file)
--- a/
lib/gfxtools.c
+++ b/
lib/gfxtools.c
@@
-86,7
+86,8
@@
static void linedraw_splineTo(gfxdrawer_t*d, gfxcoord_t sx, gfxcoord_t sy, gfxco
if(!i->start) {
fprintf(stderr, "Error: drawing startpoint is a spline\n");
if(!i->start) {
fprintf(stderr, "Error: drawing startpoint is a spline\n");
- linedraw_moveTo(d, 0, 0);
+ linedraw_moveTo(d, x, y);
+ return;
}
l->type = gfx_splineTo;
}
l->type = gfx_splineTo;