projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0a7f6e
)
Use g_strconcat() instead of g_strdup_printf("%s%s", ...).
author
Laurent Monin
<geeqie@norz.org>
Wed, 23 Jul 2008 12:45:59 +0000
(12:45 +0000)
committer
Laurent Monin
<geeqie@norz.org>
Wed, 23 Jul 2008 12:45:59 +0000
(12:45 +0000)
src/filedata.c
patch
|
blob
|
history
diff --git
a/src/filedata.c
b/src/filedata.c
index
4f65b2c
..
bfb4b5d
100644
(file)
--- a/
src/filedata.c
+++ b/
src/filedata.c
@@
-1500,7
+1500,7
@@
static void file_data_update_ci_dest_preserve_ext(FileData *fd, const gchar *des
gchar *base = remove_extension_from_path(dest_path);
gchar *old_path = fd->change->dest;
- fd->change->dest = g_str
dup_printf("%s%s", base, extension
);
+ fd->change->dest = g_str
concat(base, extension, NULL
);
file_data_update_planned_change_hash(fd, old_path, fd->change->dest);
g_free(old_path);