git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4d875b
)
fixed restitching bug
author
Matthias Kramm
<kramm@quiss.org>
Thu, 18 Feb 2010 00:16:12 +0000
(16:16 -0800)
committer
Matthias Kramm
<kramm@quiss.org>
Thu, 18 Feb 2010 00:16:12 +0000
(16:16 -0800)
lib/gfxtools.c
patch
|
blob
|
history
diff --git
a/lib/gfxtools.c
b/lib/gfxtools.c
index
929d5bf
..
12717ea
100644
(file)
--- a/
lib/gfxtools.c
+++ b/
lib/gfxtools.c
@@
-1038,7
+1038,7
@@
gfxline_t* gfxline_restitch(gfxline_t*line)
gfxline_t*prev=0;
while(line) {
gfxline_t*next = line->next;
- if(line->type == gfx_moveTo) {
+ if(line->type == gfx_moveTo && (line->next && line->next->type != gfx_moveTo)) {
gfxpoint_t xy = {line->x, line->y};
dict_put(ff, &xy, line);
prev = line;