projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
571f587
)
Fix #578: unable to write orientation to file
author
Colin Clark
<colin.clark@cclark.uk>
Wed, 17 Jan 2018 16:42:48 +0000
(16:42 +0000)
committer
Colin Clark
<colin.clark@cclark.uk>
Wed, 17 Jan 2018 16:42:48 +0000
(16:42 +0000)
https://github.com/BestImageViewer/geeqie/issues/578
Path/filename was not protected with quotes
src/layout_util.c
patch
|
blob
|
history
diff --git
a/src/layout_util.c
b/src/layout_util.c
index
0e3b01c
..
f91a1f2
100644
(file)
--- a/
src/layout_util.c
+++ b/
src/layout_util.c
@@
-510,8
+510,7
@@
static void layout_menu_write_rotate(GtkToggleAction *action, gpointer data, gbo
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)
{