changeset 11623:fd74e7b67682

[gaim-migrate @ 13898] Strip carriage returns from OSCAR away messages and info so we don't have twice as many newlines as we should. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 08 Oct 2005 14:33:52 +0000
parents 32287ea1fce0
children 45d54425dc65
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	Sat Oct 08 00:51:51 2005 +0000
+++ b/src/protocols/oscar/oscar.c	Sat Oct 08 14:33:52 2005 +0000
@@ -5093,6 +5093,7 @@
 
 	tmp = gaim_str_sub_away_formatters(str->str, gaim_account_get_username(account));
 	g_string_free(str, TRUE);
+	gaim_str_strip_cr(tmp);
 	gaim_notify_userinfo(gc, userinfo->sn, tmp, NULL, NULL);
 	g_free(tmp);