Code

patch 375771
authorbuliabyak <buliabyak@users.sourceforge.net>
Mon, 22 Jun 2009 22:39:32 +0000 (22:39 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Mon, 22 Jun 2009 22:39:32 +0000 (22:39 +0000)
src/libavoid/polyutil.cpp

index 3ce4cf64f231e36566e0f0dce6a4eabb1af48b51..1b4b0c619b57f99fd21dfa2c5cacf9d9c05b9ec2 100644 (file)
@@ -35,6 +35,7 @@ Polygn newPoly(int size)
 {
     Polygn newpoly;
 
+    newpoly.id = 0;
     newpoly.pn = size;
     newpoly.ps = (Point *) calloc(size, sizeof(Point));
     if (!newpoly.ps)