Mercurial > pidgin
diff src/util.c @ 8500:a6748565835a
[gaim-migrate @ 9236]
Fix from marv to make multi-line messages in text only protocols work
correctly.
Sending from an AIM account to an ICQ account still sends HTML
when it shouldn't, but that's minor.
Thanks Tim
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 25 Mar 2004 05:04:02 +0000 |
parents | 3d0178c4f390 |
children | 29aa90459620 |
line wrap: on
line diff
--- a/src/util.c Thu Mar 25 02:55:42 2004 +0000 +++ b/src/util.c Thu Mar 25 05:04:02 2004 +0000 @@ -1371,6 +1371,9 @@ } else if (!strncmp(c, """, 6)) { ret = g_string_append_c(ret, '"'); c += 6; + } else if (!strncmp(c, "<br>", 4)) { + ret = g_string_append_c(ret, '\n'); + c += 4; } else { ret = g_string_append_c(ret, *c); c++;