Mercurial > pidgin
changeset 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 | 9a62b8e3b23b |
children | fcaf2eb2cad8 |
files | src/protocols/msn/utils.c |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
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;