Mercurial > pidgin.yaz
diff src/protocols/oscar/oscar.c @ 13451:8355b578a21e
[gaim-migrate @ 15826]
Fix bug 1444462 - No info displayed in tooltip for AIM contact
This was caused by unescaped entities in the available message.
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Tue, 07 Mar 2006 10:33:22 +0000 |
parents | d1b29fb3b6d0 |
children | d18f5962d454 |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Tue Mar 07 10:27:45 2006 +0000 +++ b/src/protocols/oscar/oscar.c Tue Mar 07 10:33:22 2006 +0000 @@ -7790,8 +7790,10 @@ { if (message != NULL) { + char *tmp = g_markup_escape_text(message, -1); /* Available status messages are plain text */ - g_string_append_printf(str, "\n<b>%s:</b> %s", _("Message"), message); + g_string_append_printf(str, "\n<b>%s:</b> %s", _("Message"), tmp); + g_free(tmp); } } else