more horizontal refactoring
[swftools.git] / lib / gfxtools.c
index 35d4eff..7160033 100644 (file)
@@ -1054,6 +1054,7 @@ gfxline_t* gfxline_restitch(gfxline_t*line)
                gfxpoint_t xy = {line->x, line->y};
                dict_put(rev, &xy, prev);
                line->next = 0;
+               prev=0;
            }
        }
        line = next;