aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/calendar.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/calendar.c')
-rw-r--r--calendar/calendar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/calendar.c b/calendar/calendar.c
index e510f1f1b1..5fa7035f3a 100644
--- a/calendar/calendar.c
+++ b/calendar/calendar.c
@@ -339,7 +339,7 @@ calendar_save (Calendar *cal, char *fname)
}
if (g_file_exists (fname)){
- char *backup_name = g_copy_strings (fname, "~", NULL);
+ char *backup_name = g_strconcat (fname, "~", NULL);
if (g_file_exists (backup_name)){
unlink (backup_name);