# HG changeset patch # User Mark Doliner # Date 1080191042 0 # Node ID a6748565835aa1b4c1d66fa58b47684c0e0b18cd # Parent 467b01d02f9c15d0911d8201af4dde972e6288a5 [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 diff -r 467b01d02f9c -r a6748565835a src/util.c --- 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, "
", 4)) { + ret = g_string_append_c(ret, '\n'); + c += 4; } else { ret = g_string_append_c(ret, *c); c++;