Mercurial > pidgin
changeset 12960:cefac38bcb9f
[gaim-migrate @ 15313]
I believe this will fix a bug I'm seeing with account notification. I didn't note which protocol, unfortunately. I was seeing 'Foo has made rlaager his or her buddy: '
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Fri, 20 Jan 2006 01:52:01 +0000 |
parents | acf22abb86ba |
children | 4eae108efdde |
files | src/gtkaccount.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkaccount.c Fri Jan 20 01:44:06 2006 +0000 +++ b/src/gtkaccount.c Fri Jan 20 01:52:01 2006 +0000 @@ -2578,6 +2578,9 @@ make_info(GaimAccount *account, GaimConnection *gc, const char *remote_user, const char *id, const char *alias, const char *msg) { + if (*msg == '\0') + msg = NULL; + return g_strdup_printf(_("%s%s%s%s has made %s his or her buddy%s%s"), remote_user, (alias != NULL ? " (" : ""),