fixed gfxline restitching issue
authorMatthias Kramm <kramm@quiss.org>
Fri, 16 Apr 2010 01:28:16 +0000 (18:28 -0700)
committerMatthias Kramm <kramm@quiss.org>
Fri, 16 Apr 2010 01:28:16 +0000 (18:28 -0700)
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;
                gfxpoint_t xy = {line->x, line->y};
                dict_put(rev, &xy, prev);
                line->next = 0;
+               prev=0;
            }
        }
        line = next;
            }
        }
        line = next;