diff options
author | Harry Jeffery <harry@exec64.co.uk> | 2017-04-18 17:53:12 +0100 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2017-04-18 17:53:12 +0100 |
commit | 202a2c8c8af2bc2f5f910042d134069142375b67 (patch) | |
tree | a2de68c63e5cc2cb4ec26f58f48c792e81835ddc /src | |
parent | c67d1b529cd7c1b1e95c30b2a34e6b53aa2e2bdb (diff) | |
download | imv-202a2c8c8af2bc2f5f910042d134069142375b67.tar.gz |
Fix font_name crash
Diffstat (limited to 'src')
-rw-r--r-- | src/imv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -103,7 +103,7 @@ struct imv *imv_create(void) imv->background_color.r = imv->background_color.g = imv->background_color.b = 0; imv->slideshow_image_duration = 0; imv->slideshow_time_elapsed = 0; - imv->font_name = "Monospace:24"; + imv->font_name = strdup("Monospace:24"); imv->navigator = imv_navigator_create(); imv->loader = imv_loader_create(); imv->commands = imv_commands_create(); |