From adde947fc5ffc3d143040a984d0907262ac279bc Mon Sep 17 00:00:00 2001 From: Craig Barnes Date: Mon, 30 Nov 2020 02:24:38 +0000 Subject: config: replace union in config struct with simple width/height members --- config.h | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'config.h') diff --git a/config.h b/config.h index 2c57850c..e69e5376 100644 --- a/config.h +++ b/config.h @@ -64,16 +64,8 @@ struct config { struct { enum conf_size_type type; - union { - struct { - unsigned width; - unsigned height; - } px; - struct { - unsigned width; - unsigned height; - } cells; - }; + unsigned width; + unsigned height; } size; unsigned pad_x; -- cgit v1.3