2007-02-11 [colin] 2.7.2cvs41
[claws.git] / src / alertpanel.c
index b0ae91d47588d12c757ef065528b2caaef2c1f52..c1cafe6389d649d9363cde29d728fe7cbc9c5512 100644 (file)
@@ -237,11 +237,12 @@ static void alertpanel_create(const gchar *title,
        GtkWidget *button3;
        const gchar *label2;
        const gchar *label3;
-       
+       gchar *tmp = title?g_markup_printf_escaped("%s", title)
+                       :g_strdup("");
        gchar *title_full = g_strdup_printf("<span weight=\"bold\" "
                                "size=\"larger\">%s</span>",
-                               title?title:"");
-
+                               tmp);
+       g_free(tmp);
        debug_print("Creating alert panel dialog...\n");
 
        dialog = gtk_dialog_new();