Mercurial > pidgin
diff src/prpl.c @ 4001:9178da61c19f
[gaim-migrate @ 4201]
fix bug where logging in to yahoo causes a blank new mail notification (thanks ZuperDee and faceprint)
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Tue, 26 Nov 2002 14:13:11 +0000 |
parents | 43e396e94095 |
children | 89b56ab2b692 |
line wrap: on
line diff
--- a/src/prpl.c Mon Nov 25 23:44:20 2002 +0000 +++ b/src/prpl.c Tue Nov 26 14:13:11 2002 +0000 @@ -450,7 +450,7 @@ if (count < 0) { if (from && subject) - g_snprintf(buf, sizeof buf, "%s has mail from %s: %s", gc->username, from, subject); + g_snprintf(buf, sizeof buf, "%s has mail from %s: %s", gc->username, from, *subject ? subject : _("No Subject")); else g_snprintf(buf, sizeof buf, "%s has new mail.", gc->username); } else if (count > 0) {