aboutsummaryrefslogtreecommitdiff
path: root/src/imv.c
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2019-02-10 16:39:41 +0000
committerHarry Jeffery <harry@exec64.co.uk>2019-02-10 16:39:41 +0000
commite3836c371f3cdccf42fe05b8a91562795081876d (patch)
treeda7abcdfc083c9e825583ed9ee8280d4410d776c /src/imv.c
parent551464706c848526646a20b5b4172cda69f0e005 (diff)
downloadimv-e3836c371f3cdccf42fe05b8a91562795081876d.tar.gz
imv: Fix uninit background_type
Diffstat (limited to 'src/imv.c')
-rw-r--r--src/imv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/imv.c b/src/imv.c
index 34a4e9a..fe07f29 100644
--- a/src/imv.c
+++ b/src/imv.c
@@ -309,6 +309,7 @@ struct imv *imv_create(void)
imv->need_rescale = true;
imv->recursive_load = false;
imv->scaling_mode = SCALING_FULL;
+ imv->background_type = BACKGROUND_SOLID;
imv->loop_input = true;
imv->list_files_at_exit = false;
imv->paths_from_stdin = false;