[gaim-migrate @ 15313]

Fri, 20 Jan 2006 01:52:01 +0000

author
Richard Laager <rlaager@pidgin.im>
date
Fri, 20 Jan 2006 01:52:01 +0000
changeset 12960
69571cc82fda
parent 12959
097505850cdd
child 12961
ee989777ce02

[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: '

src/gtkaccount.c file | annotate | diff | comparison | revisions
--- 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 ? " ("  : ""),

mercurial