diff options
author | Harry Jeffery <harry@exec64.co.uk> | 2015-12-26 03:02:39 +0000 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2015-12-26 03:02:39 +0000 |
commit | 6562cfbd42087efb26484565d18933b063782ed9 (patch) | |
tree | 3ca3548b963cde75d4d7a394f5d3f47c054cf88c | |
parent | 1332a920f5a36dcdff5625bc703b0bba07fb83e7 (diff) | |
download | imv-6562cfbd42087efb26484565d18933b063782ed9.tar.gz |
Improve readability of g_options
The default options block was getting quite ridiculous to try and read.
Let's improve the readability.
-rw-r--r-- | src/main.c | 18 |
1 files changed, 17 insertions, 1 deletions
@@ -46,7 +46,23 @@ struct { char *overlay_str; const char *start_at; const char *font; -} g_options = {0,0,0,0,0,1,0,0,0,0,0,0,NULL,NULL,"Monospace:24"}; +} g_options = { + .fullscreen = 0, + .sin = 0, + .recursive = 0, + .actual = 0, + .nearest_neighbour = 0, + .solid_bg = 1, + .list = 0, + .delay = 0, + .bg_r = 0, + .bg_g = 0, + .bg_b = 0, + .overlay = 0, + .overlay_str = NULL, + .start_at = NULL, + .font = "Monospace:24", +}; void print_usage(const char* name) { |