comparison 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
comparison
equal deleted inserted replaced
8922:9a62b8e3b23b 8923:3ea82ab12cb9
183 183
184 for (c = html; *c != '\0';) 184 for (c = html; *c != '\0';)
185 { 185 {
186 if (*c == '<') 186 if (*c == '<')
187 { 187 {
188 if (!g_ascii_strncasecmp(c + 1, "i>", 2)) 188 if (!g_ascii_strncasecmp(c + 1, "br>", 3))
189 {
190 msg[retcount++] = '\r';
191 msg[retcount++] = '\n';
192 c += 4;
193 }
194 else if (!g_ascii_strncasecmp(c + 1, "i>", 2))
189 { 195 {
190 strcat(fonteffect, "I"); 196 strcat(fonteffect, "I");
191 c += 3; 197 c += 3;
192 } 198 }
193 else if (!g_ascii_strncasecmp(c + 1, "b>", 2)) 199 else if (!g_ascii_strncasecmp(c + 1, "b>", 2))