From: Matthew Fernandez Date: Sat, 11 Sep 2021 16:01:56 +0000 (-0700) Subject: p_invtrapezium: squash a -Wmissing-field-initializer warning X-Git-Tag: 2.49.1~16^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a0fab9067c7afdab23c8d549eabb2a8cb3283e17;p=graphviz p_invtrapezium: squash a -Wmissing-field-initializer warning --- diff --git a/lib/common/shapes.c b/lib/common/shapes.c index f4ea134f4..cce21ccf4 100644 --- a/lib/common/shapes.c +++ b/lib/common/shapes.c @@ -117,7 +117,8 @@ static polygon_t p_doublecircle = { .regular = TRUE, .peripheries = 2, .sides = 1}; static polygon_t p_invtriangle = { .peripheries = 1, .sides = 3, .orientation = 180.0}; -static polygon_t p_invtrapezium = { FALSE, 1, 4, 180., -.4, 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_doubleoctagon = { FALSE, 2, 8, 0., 0., 0. }; static polygon_t p_tripleoctagon = { FALSE, 3, 8, 0., 0., 0. };