Mercurial > geeqie
changeset 920:408879d2a660
Use g_strconcat() instead of g_strdup_printf("%s%s", ...).
author | zas_ |
---|---|
date | Wed, 23 Jul 2008 12:45:59 +0000 |
parents | 3a939c88305c |
children | b416159a5820 |
files | src/filedata.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/filedata.c Wed Jul 23 10:21:37 2008 +0000 +++ b/src/filedata.c Wed Jul 23 12:45:59 2008 +0000 @@ -1500,7 +1500,7 @@ gchar *base = remove_extension_from_path(dest_path); gchar *old_path = fd->change->dest; - fd->change->dest = g_strdup_printf("%s%s", base, extension); + fd->change->dest = g_strconcat(base, extension, NULL); file_data_update_planned_change_hash(fd, old_path, fd->change->dest); g_free(old_path);