diff -r a4a68d315090 -r d10bb378f560 pidgin/gtknotify.c
--- a/pidgin/gtknotify.c Thu Jun 03 19:31:56 2021 -0500
+++ b/pidgin/gtknotify.c Thu Jun 03 19:33:07 2021 -0500
@@ -724,7 +724,10 @@
tmp = g_markup_escape_text(*subjects, -1);
subject_text = g_strdup_printf("%s%s: %s", first ? "
" : "", _("Subject"), tmp);
g_free(tmp);
- first = FALSE;
+ /* this is a dead assignment, but if you add another row you'll
+ * need it, so I commented it out for now.
+ */
+ /* first = FALSE; */
subjects++;
}
#define SAFE(x) ((x) ? (x) : "")
@@ -751,7 +754,7 @@
notification = g_strdup_printf(ngettext("%s has %d new message.",
"%s has %d new messages.",
(int)count),
- *tos, (int)count);
+ tos != NULL ? *tos : NULL, (int)count);
data2 = pidgin_notify_add_mail(mail_dialog->treemodel, account, notification, urls ? *urls : NULL, count, FALSE, &new_data);
if (data2 && new_data) {
if (data)