Mercurial > pidgin
changeset 12876:2c3ee0eff94b
[gaim-migrate @ 15228]
Andrea Canciani fixed yahoo "Get Info" to not have unnecessary spaces before and after the content.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Sat, 14 Jan 2006 17:43:32 +0000 |
parents | 7a432c828225 |
children | a7bf698eb37c |
files | src/protocols/yahoo/yahoo_profile.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo_profile.c Sat Jan 14 15:15:54 2006 +0000 +++ b/src/protocols/yahoo/yahoo_profile.c Sat Jan 14 17:43:32 2006 +0000 @@ -811,7 +811,7 @@ p = strstr(url_text, "Adult Content Warning"); /* TITLE element */ } if (p) { - g_snprintf(buf, 1024, "<html><body>%s<b>%s</b><br><br>\n" + g_snprintf(buf, 1024, "<html><body>%s<b>%s</b><br><br>" "%s<br><a href=\"%s\">%s</a></body></html>", tooltip_text, _("Sorry, profiles marked as containing adult content " @@ -1193,14 +1193,14 @@ profile_url_text, profile_url_text); /* finish off the html at the end */ - g_string_append(s, "</body></html>\n"); + g_string_append(s, "</body></html>"); g_free(stripped); /* Put the Yahoo! ID, nickname, idle time, and status message in */ g_string_prepend(s, tooltip_text); /* finish off the html at the beginning */ - g_string_prepend(s, "<html><body>\n"); + g_string_prepend(s, "<html><body>"); /* show it to the user */ gaim_notify_userinfo(info_data->gc, info_data->name,