Mercurial > hg > forks > geeqie
changeset 2704:fe3d652a8b5b
Fix #578: unable to write orientation to file
https://github.com/BestImageViewer/geeqie/issues/578
Path/filename was not protected with quotes
author | Colin Clark <colin.clark@cclark.uk> |
---|---|
date | Wed, 17 Jan 2018 16:42:48 +0000 |
parents | c8b8f40f0dd0 |
children | beda48f55142 |
files | src/layout_util.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/layout_util.c Fri Jan 05 19:07:48 2018 +0000 +++ b/src/layout_util.c Wed Jan 17 16:42:48 2018 +0000 @@ -510,8 +510,7 @@ rotation = g_strdup_printf("%d", fd_n->user_orientation); command = g_strconcat(GQ_BIN_DIR, "/geeqie-rotate -r ", rotation, - keep_date ? " -t " : " ", fd_n->path, NULL); - + keep_date ? " -t \"" : " \"", fd_n->path, "\"", NULL); run_result = WEXITSTATUS(runcmd(command)); if (!run_result) {