[gaim-migrate @ 7731]

Sun, 05 Oct 2003 19:59:21 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Sun, 05 Oct 2003 19:59:21 +0000
changeset 7164
27d2497d2e2d
parent 7163
45d247a1c932
child 7165
6547d94b0725

[gaim-migrate @ 7731]
I was getting some crashes the other way

src/protocols/oscar/oscar.c file | annotate | diff | comparison | revisions
--- 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);

mercurial