aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/im-sandbox.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/im-sandbox.c b/src/im-sandbox.c
index 5d42d17d..d393c356 100644
--- a/src/im-sandbox.c
+++ b/src/im-sandbox.c
@@ -193,6 +193,8 @@ static void process_image(const struct index_args *iargs,
/* Prefix to jump out of temporary folder */
if ( pargs->filename[0] != '/' ) {
snprintf(filename, 1023, "../../%s", pargs->filename);
+ } else {
+ snprintf(filename, 1023, "%s", pargs->filename);
}
image.features = NULL;