Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
13450:5251e354d213 | 13451:8355b578a21e |
---|---|
7788 | 7788 |
7789 if (gaim_status_is_available(status)) | 7789 if (gaim_status_is_available(status)) |
7790 { | 7790 { |
7791 if (message != NULL) | 7791 if (message != NULL) |
7792 { | 7792 { |
7793 char *tmp = g_markup_escape_text(message, -1); | |
7793 /* Available status messages are plain text */ | 7794 /* Available status messages are plain text */ |
7794 g_string_append_printf(str, "\n<b>%s:</b> %s", _("Message"), message); | 7795 g_string_append_printf(str, "\n<b>%s:</b> %s", _("Message"), tmp); |
7796 g_free(tmp); | |
7795 } | 7797 } |
7796 } | 7798 } |
7797 else | 7799 else |
7798 { | 7800 { |
7799 if (message != NULL) | 7801 if (message != NULL) |