# HG changeset patch # User Mark Doliner # Date 1065383961 0 # Node ID 7fadcbdcac29d647980a7e87a1ea98d7ca68972a # Parent 3785d534d0852c7084273eaf0a819335ed2f9458 [gaim-migrate @ 7731] I was getting some crashes the other way committer: Tailor Script diff -r 3785d534d085 -r 7fadcbdcac29 src/protocols/oscar/oscar.c --- 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, "
", "\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, _("Away Message: "), tmp3, "\n", NULL);