# HG changeset patch # User Mark Doliner # Date 1110514407 0 # Node ID e11f3e1599d4f25c51484bf79485729aebfcbe22 # Parent c604c88a7530eea9bf5e3ee8805506ddce5f1ba4 [gaim-migrate @ 12230] A guy named Martin noticed that if you read the info of an ICQ user, and they have more than one email address listed, the mailto link for all addresses after the first are missing a colon. And I also removed some no-longer-needed \n's that were causing some extra white space in the output. I'm glad those aren't needed--yay for improvements to gtkimhtml. Let me go crazy on ya Crazy on you Let me go crazy, crazy on you, ohhh committer: Tailor Script diff -r c604c88a7530 -r e11f3e1599d4 src/protocols/oscar/oscar.c --- a/src/protocols/oscar/oscar.c Fri Mar 11 03:54:23 2005 +0000 +++ b/src/protocols/oscar/oscar.c Fri Mar 11 04:13:27 2005 +0000 @@ -5213,7 +5213,7 @@ int i; for (i = 0; i < info->numaddresses; i++) { if (info->email2[i] && info->email2[i][0] && (utf8 = gaim_utf8_try_convert(info->email2[i]))) { - g_string_append_printf(str, "\n
%s: %s", _("Email Address"), utf8, utf8); + g_string_append_printf(str, "\n
%s: %s", _("Email Address"), utf8, utf8); g_free(utf8); } } @@ -5243,14 +5243,14 @@ g_string_append_printf(str, "
%s:
%s", _("Additional Information"), utf8); g_free(utf8); } - g_string_append_printf(str, "
\n"); + g_string_append_printf(str, "
"); if ((info->homeaddr && (info->homeaddr[0])) || (info->homecity && info->homecity[0]) || (info->homestate && info->homestate[0]) || (info->homezip && info->homezip[0])) { g_string_append_printf(str, "%s:", _("Home Address")); oscar_string_append(str, "\n
", _("Address"), info->homeaddr); oscar_string_append(str, "\n
", _("City"), info->homecity); oscar_string_append(str, "\n
", _("State"), info->homestate); oscar_string_append(str, "\n
", _("Zip Code"), info->homezip); - g_string_append_printf(str, "\n
\n"); + g_string_append_printf(str, "\n
"); } if ((info->workaddr && info->workaddr[0]) || (info->workcity && info->workcity[0]) || (info->workstate && info->workstate[0]) || (info->workzip && info->workzip[0])) { g_string_append_printf(str, "%s:", _("Work Address")); @@ -5258,7 +5258,7 @@ oscar_string_append(str, "\n
", _("City"), info->workcity); oscar_string_append(str, "\n
", _("State"), info->workstate); oscar_string_append(str, "\n
", _("Zip Code"), info->workzip); - g_string_append_printf(str, "\n
\n"); + g_string_append_printf(str, "\n
"); } if ((info->workcompany && info->workcompany[0]) || (info->workdivision && info->workdivision[0]) || (info->workposition && info->workposition[0]) || (info->workwebpage && info->workwebpage[0])) { g_string_append_printf(str, "%s:", _("Work Information")); @@ -5269,7 +5269,7 @@ g_string_append_printf(str, "\n
%s: %s", _("Web Page"), utf8, utf8); g_free(utf8); } - g_string_append_printf(str, "\n
\n"); + g_string_append_printf(str, "\n
"); } if (buddy != NULL)