diff src/protocols/msn/utils.c @ 8923:3ea82ab12cb9

[gaim-migrate @ 9693] " Now we can send messages with carriage returns." --Felipe Contreras committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Thu, 13 May 2004 17:22:11 +0000
parents 538a78ff9fdb
children cab225a333b5
line wrap: on
line diff
--- a/src/protocols/msn/utils.c	Thu May 13 17:20:42 2004 +0000
+++ b/src/protocols/msn/utils.c	Thu May 13 17:22:11 2004 +0000
@@ -185,7 +185,13 @@
 	{
 		if (*c == '<')
 		{
-			if (!g_ascii_strncasecmp(c + 1, "i>", 2))
+			if (!g_ascii_strncasecmp(c + 1, "br>", 3))
+			{
+				msg[retcount++] = '\r';
+				msg[retcount++] = '\n';
+				c += 4;
+			}
+			else if (!g_ascii_strncasecmp(c + 1, "i>", 2))
 			{
 				strcat(fonteffect, "I");
 				c += 3;