Use <br/> instead of \n for the newline, sadrul thought this might work

Thu, 14 Jun 2007 02:13:49 +0000

author
Stu Tomlinson <nosnilmot@pidgin.im>
date
Thu, 14 Jun 2007 02:13:49 +0000
changeset 17729
d7cee72ec9dc
parent 17728
323b1481c2bc
child 17730
2a4bfde6c462

Use <br/> instead of \n for the newline, sadrul thought this might work
better when interacting with other plugins, or something. It still works
for what I intended it for anyway, so I'm happy.

libpurple/plugins/newline.c file | annotate | diff | comparison | revisions
--- a/libpurple/plugins/newline.c	Thu Jun 14 01:24:16 2007 +0000
+++ b/libpurple/plugins/newline.c	Thu Jun 14 02:13:49 2007 +0000
@@ -32,7 +32,7 @@
 					 PurpleConversation *conv, int *flags, void *data)
 {
 	if (g_ascii_strncasecmp(*message, "/me ", strlen("/me "))) {
-		char *tmp = g_strdup_printf("\n%s", *message);
+		char *tmp = g_strdup_printf("<br/>%s", *message);
 		g_free(*message);
 		*message = tmp;
 	}

mercurial