aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorCraig Barnes <craigbarnes@protonmail.com>2020-11-30 02:24:38 +0000
committerCraig Barnes <craigbarnes@protonmail.com>2020-11-30 02:24:38 +0000
commitadde947fc5ffc3d143040a984d0907262ac279bc (patch)
tree1b29a75414035349d6178509e5660d917484cbc0 /config.h
parentMerge branch 'base64-optimize' (diff)
config: replace union in config struct with simple width/height members
Diffstat (limited to 'config.h')
-rw-r--r--config.h12
1 files changed, 2 insertions, 10 deletions
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;