# HG changeset patch # User Richard Laager # Date 1183241072 0 # Node ID 47ff5e98b3718fbf16fb712d92d6eb50305ebe94 # Parent c13d115b6c6e58328361557b516985bc09bfbd85 Make the MSN logger set flags and ues
instead of \n. This fixes the problem where these logs would show up as one line in the history plugin. Thank Michael Shkutkov for tracking this down and providing the fixes. diff -r c13d115b6c6e -r 47ff5e98b371 libpurple/plugins/log_reader.c --- a/libpurple/plugins/log_reader.c Sat Jun 30 22:00:19 2007 +0000 +++ b/libpurple/plugins/log_reader.c Sat Jun 30 22:04:32 2007 +0000 @@ -874,6 +874,7 @@ GString *text = NULL; xmlnode *message; + *flags = PURPLE_LOG_READ_NO_NEWLINE; g_return_val_if_fail(log != NULL, g_strdup("")); data = log->logger_data; @@ -1126,10 +1127,10 @@ text = g_string_append(text, style); text = g_string_append(text, "\">"); text = g_string_append(text, tmp); - text = g_string_append(text, "\n"); + text = g_string_append(text, "
"); } else { text = g_string_append(text, tmp); - text = g_string_append(text, "\n"); + text = g_string_append(text, "
"); } g_free(tmp); }