pidgin: 3aaf5e76: Revert this to what it was originally. S...
darkrain42 at pidgin.im
darkrain42 at pidgin.im
Thu Jul 16 19:00:38 EDT 2009
-----------------------------------------------------------------
Revision: 3aaf5e76814e614778b16177623436f632cc4b76
Ancestor: aa2263fd0818d5900ddd12e42fd72e05c2eca3bc
Author: darkrain42 at pidgin.im
Date: 2009-07-16T22:53:37
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/3aaf5e76814e614778b16177623436f632cc4b76
Modified files:
libpurple/protocols/jabber/buddy.c
ChangeLog:
Revert this to what it was originally. Since the Get Info dialog renders "Purple HTML" or "IMHTML", trust the purple_* routine to format the <br/> properly.
-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/buddy.c f129e10a90da6a2a0c5346c3fcd5c361bcd83821
+++ libpurple/protocols/jabber/buddy.c 98e9427c118da49fde3886462b605a4971f3c890
@@ -702,7 +702,7 @@ add_jbr_info(JabberBuddyInfo *jbi, const
const char *status_name = jabber_buddy_state_get_name(jbr->state);
if (jbr->status) {
- purdy = purple_strreplace(jbr->status, "\n", "<br />\n");
+ purdy = purple_strdup_withhtml(jbr->status);
if (purple_strequal(status_name, purdy))
status_name = NULL;
More information about the Commits
mailing list