diff libpurple/plugins/log_reader.c @ 18359:d1e7c8015308

using <br> as end of line instead of '\n' in QIP logger. With this change History plugin works fine
author Michael Shkutkov <mshkutkov@soc.pidgin.im>
date Fri, 29 Jun 2007 18:56:56 +0000
parents 54251fa6389d
children d8f783ed28d3
line wrap: on
line diff
--- a/libpurple/plugins/log_reader.c	Fri Jun 29 18:03:53 2007 +0000
+++ b/libpurple/plugins/log_reader.c	Fri Jun 29 18:56:56 2007 +0000
@@ -2035,7 +2035,7 @@
 			if (line[0] != '\n' && line[0] != '\r') {
 
 				g_string_append(formatted, line);
-				g_string_append_c(formatted, '\n');
+				g_string_append(formatted, "<br>");
 			}
 			line = ++c;
 		}