]> granicus.if.org Git - graphviz/commitdiff
reinstate adjustment to size of triangle nodes
authorellson <devnull@localhost>
Wed, 23 Jul 2008 18:41:04 +0000 (18:41 +0000)
committerellson <devnull@localhost>
Wed, 23 Jul 2008 18:41:04 +0000 (18:41 +0000)
lib/common/shapes.c

index a8ef6ab4d7a3193d7ef2d021b36d6912d8732bd7..6694583fdd9958cbec0894c5d4709811447f61c1 100644 (file)
@@ -845,7 +845,7 @@ static void poly_init(node_t * n)
            bb.x *= SQRT2;
            bb.y = temp;
        }
-#if 0
+#if 1
        if (sides > 2) {
            temp = cos(M_PI / sides);
            bb.x /= temp;