summaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-11-18 20:19:49 +0100
committerDaniel Friesel <derf@finalrewind.org>2018-11-18 20:19:49 +0100
commitddf90e154a33a4e15054d962124f381eb3608fa2 (patch)
tree42c38187539a50a2027e6482da53389f6d9720d1 /src/utils.c
parent310432883fb3712acd31af4570618454e9cdcd59 (diff)
Make slideshow_save_image work again when opt.output_dir is unset
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils.c b/src/utils.c
index ec30d4a..087e7f6 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -152,6 +152,7 @@ char path_is_url(char *path) {
return 0;
}
+/* Note: path must end with a trailing / or be an empty string */
/* free the result please */
char *feh_unique_filename(char *path, char *basename)
{