changeset 17621:840862547a63

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.
author Stu Tomlinson <stu@nosnilmot.com>
date Thu, 14 Jun 2007 02:13:49 +0000
parents c1c533448097
children e9d95a993641
files libpurple/plugins/newline.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
 	}