diff options
author | rien333 <rien334@gmail.com> | 2019-08-16 15:15:45 +0200 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2019-08-16 18:51:16 +0100 |
commit | 505340f9fdd7e8d8356c25035b254c8f9ee367a6 (patch) | |
tree | 2dea2ac6e2fd3888b062f0d49b7b835a37cf7eec | |
parent | ec14d5f41251fadc03370c9cbe5f2e0bdb5ca9ff (diff) | |
download | imv-505340f9fdd7e8d8356c25035b254c8f9ee367a6.tar.gz |
Fix misspelling of slideshow_duration environment variable
I noticed that echoing `$imv_slideshow_duration` always came up
blank. Turns out, it's misspelled in imv.c. Correcting the spelling
mistake makes it behave as expected.
-rw-r--r-- | src/imv.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1706,10 +1706,10 @@ static void update_env_vars(struct imv *imv) } snprintf(str, sizeof str, "%f", imv->slideshow.duration); - setenv("imv_slidshow_duration", str, 1); + setenv("imv_slideshow_duration", str, 1); snprintf(str, sizeof str, "%f", imv->slideshow.elapsed); - setenv("imv_slidshow_elapsed", str, 1); + setenv("imv_slideshow_elapsed", str, 1); } static size_t generate_env_text(struct imv *imv, char *buf, size_t buf_len, const char *format) |