diff options
author | Thomas White <taw@physics.org> | 2013-02-19 13:51:47 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2013-02-19 13:51:47 +0100 |
commit | a5439f150d97b30576ea9f337c004ff0a9e404a1 (patch) | |
tree | 71f3123d4521d9f0545e6497f388f93214ccd2f5 /src/im-sandbox.c | |
parent | 9aa90dd1f81f7ec449dad1e1da0cfd67eef65150 (diff) |
D'oh
Diffstat (limited to 'src/im-sandbox.c')
-rw-r--r-- | src/im-sandbox.c | 2 |
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; |