# HG changeset patch # User Stu Tomlinson # Date 1181787229 0 # Node ID 840862547a63afe93363201e5d321827a5f40cf1 # Parent c1c533448097510af6e4909b6b19b7de300bae1d Use
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. diff -r c1c533448097 -r 840862547a63 libpurple/plugins/newline.c --- 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("
%s", *message); g_free(*message); *message = tmp; }