diff options
| author | Craig Barnes <craigbarnes@protonmail.com> | 2020-11-30 02:24:38 +0000 |
|---|---|---|
| committer | Craig Barnes <craigbarnes@protonmail.com> | 2020-11-30 02:24:38 +0000 |
| commit | adde947fc5ffc3d143040a984d0907262ac279bc (patch) | |
| tree | 1b29a75414035349d6178509e5660d917484cbc0 /config.h | |
| parent | Merge branch 'base64-optimize' (diff) | |
config: replace union in config struct with simple width/height members
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -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; |
