]> granicus.if.org Git - graphviz/commitdiff
p_invhouse: squash a -Wmissing-field-initializer warning
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 11 Sep 2021 16:03:03 +0000 (09:03 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 18 Sep 2021 19:34:52 +0000 (12:34 -0700)
lib/common/shapes.c

index cce21ccf4eb5b2ad827dd73a7d20a9c127b43230..a5fc6a758a2309fccaa6a35a8dedf07aff16ca66 100644 (file)
@@ -119,7 +119,8 @@ static polygon_t p_invtriangle = {
     .peripheries = 1, .sides = 3, .orientation = 180.0};
 static polygon_t p_invtrapezium = {
     .peripheries = 1, .sides = 4, .orientation = 180.0, .distortion = -0.4};
-static polygon_t p_invhouse = { FALSE, 1, 5, 180., -.64, 0. };
+static polygon_t p_invhouse = {
+    .peripheries = 1, .sides = 5, .orientation = 180.0, .distortion = -0.64};
 static polygon_t p_doubleoctagon = { FALSE, 2, 8, 0., 0., 0. };
 static polygon_t p_tripleoctagon = { FALSE, 3, 8, 0., 0., 0. };
 static polygon_t p_Mdiamond =