Mercurial > pidgin.yaz
changeset 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 | 467b01d02f9c |
children | 9f1678878dc8 |
files | src/util.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
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++;