Mercurial > pidgin
changeset 7164:7fadcbdcac29
[gaim-migrate @ 7731]
I was getting some crashes the other way
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 05 Oct 2003 19:59:21 +0000 |
parents | 3785d534d085 |
children | a230b7bca1fb |
files | src/protocols/oscar/oscar.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Sun Oct 05 19:33:32 2003 +0000 +++ b/src/protocols/oscar/oscar.c Sun Oct 05 19:59:21 2003 +0000 @@ -3182,7 +3182,7 @@ } } - final = gaim_str_sub_away_formatters(text->str, gaim_connection_get_display_name(gc)); + final = gaim_str_sub_away_formatters(text->str, gaim_account_get_username(gaim_connection_get_account(gc))); g_string_free(text, TRUE); gaim_notify_formatted(gc, NULL, _("Buddy Information"), NULL, final, NULL, NULL); @@ -5425,7 +5425,7 @@ tmp1 = gaim_strreplace(away_utf8, "<BR>", "\n"); tmp2 = gaim_markup_strip_html(tmp1); g_free(tmp1); - tmp3 = gaim_str_sub_away_formatters(tmp2, gaim_connection_get_display_name(gc)); + tmp3 = gaim_str_sub_away_formatters(tmp2, gaim_account_get_username(gaim_connection_get_account(gc))); g_free(tmp2); tmp = ret; ret = g_strconcat(tmp, _("<b>Away Message:</b> "), tmp3, "\n", NULL);