changeset 12361:88de0d2fb68e

[gaim-migrate @ 14665] sf patch #1373520, from Sadrul Habib Chowdhury Show multiline oscar-statustexts in a single line in the buddylist. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 05 Dec 2005 22:48:52 +0000
parents 3153661f4d5c
children e7e3144760b0
files src/protocols/oscar/oscar.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Mon Dec 05 21:46:47 2005 +0000
+++ b/src/protocols/oscar/oscar.c	Mon Dec 05 22:48:52 2005 +0000
@@ -7654,6 +7654,7 @@
 		{
 			gchar *tmp1, *tmp2;
 			tmp1 = gaim_markup_strip_html(message);
+			gaim_util_chrreplace(tmp1, '\n', ' ');
 			tmp2 = g_markup_escape_text(tmp1, -1);
 			ret = gaim_str_sub_away_formatters(tmp2, gaim_account_get_username(account));
 			g_free(tmp1);