aboutsummaryrefslogtreecommitdiff
path: root/src/im-sandbox.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-02-19 13:51:47 +0100
committerThomas White <taw@physics.org>2013-02-19 13:51:47 +0100
commita5439f150d97b30576ea9f337c004ff0a9e404a1 (patch)
tree71f3123d4521d9f0545e6497f388f93214ccd2f5 /src/im-sandbox.c
parent9aa90dd1f81f7ec449dad1e1da0cfd67eef65150 (diff)
D'oh
Diffstat (limited to 'src/im-sandbox.c')
-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;