diff src/filedata.c @ 920:408879d2a660

Use g_strconcat() instead of g_strdup_printf("%s%s", ...).
author zas_
date Wed, 23 Jul 2008 12:45:59 +0000
parents 19b7349bb8c8
children 893cd191db23
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);