From a0fab9067c7afdab23c8d549eabb2a8cb3283e17 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 11 Sep 2021 09:01:56 -0700 Subject: [PATCH] p_invtrapezium: squash a -Wmissing-field-initializer warning --- lib/common/shapes.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. }; -- 2.40.0