aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-editor/eab-editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/contact-editor/eab-editor.c')
-rw-r--r--addressbook/gui/contact-editor/eab-editor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/addressbook/gui/contact-editor/eab-editor.c b/addressbook/gui/contact-editor/eab-editor.c
index 29702bb23a..7beea41268 100644
--- a/addressbook/gui/contact-editor/eab-editor.c
+++ b/addressbook/gui/contact-editor/eab-editor.c
@@ -320,7 +320,7 @@ eab_editor_confirm_delete (GtkWindow *parent, gboolean plural, gboolean is_list,
/* contact list(s) */
if (!plural)
msg = g_strdup_printf (_("Are you sure you want\nto delete contact list (%s)?"),
- name);
+ name?name:"");
else
msg = g_strdup (_("Are you sure you want\nto delete these contact lists?"));
}
@@ -328,7 +328,7 @@ eab_editor_confirm_delete (GtkWindow *parent, gboolean plural, gboolean is_list,
/* contact(s) */
if (!plural)
msg = g_strdup_printf (_("Are you sure you want\nto delete contact (%s)?"),
- name);
+ name?name:"");
else
msg = g_strdup (_("Are you sure you want\nto delete these contacts?"));
}