comparison src/gtkaccount.c @ 12976:0a5b48576913

[gaim-migrate @ 15329] This should fix a crash Bleeter pasted earlier in #gaim committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 21 Jan 2006 01:59:07 +0000
parents cefac38bcb9f
children 5efbb0162f86
comparison
equal deleted inserted replaced
12975:e0c9d63ad4a0 12976:0a5b48576913
2576 2576
2577 static char * 2577 static char *
2578 make_info(GaimAccount *account, GaimConnection *gc, const char *remote_user, 2578 make_info(GaimAccount *account, GaimConnection *gc, const char *remote_user,
2579 const char *id, const char *alias, const char *msg) 2579 const char *id, const char *alias, const char *msg)
2580 { 2580 {
2581 if (*msg == '\0') 2581 if (msg != NULL && *msg == '\0')
2582 msg = NULL; 2582 msg = NULL;
2583 2583
2584 return g_strdup_printf(_("%s%s%s%s has made %s his or her buddy%s%s"), 2584 return g_strdup_printf(_("%s%s%s%s has made %s his or her buddy%s%s"),
2585 remote_user, 2585 remote_user,
2586 (alias != NULL ? " (" : ""), 2586 (alias != NULL ? " (" : ""),