Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
8499:467b01d02f9c | 8500:a6748565835a |
---|---|
1369 ret = g_string_append_c(ret, '>'); | 1369 ret = g_string_append_c(ret, '>'); |
1370 c += 4; | 1370 c += 4; |
1371 } else if (!strncmp(c, """, 6)) { | 1371 } else if (!strncmp(c, """, 6)) { |
1372 ret = g_string_append_c(ret, '"'); | 1372 ret = g_string_append_c(ret, '"'); |
1373 c += 6; | 1373 c += 6; |
1374 } else if (!strncmp(c, "<br>", 4)) { | |
1375 ret = g_string_append_c(ret, '\n'); | |
1376 c += 4; | |
1374 } else { | 1377 } else { |
1375 ret = g_string_append_c(ret, *c); | 1378 ret = g_string_append_c(ret, *c); |
1376 c++; | 1379 c++; |
1377 } | 1380 } |
1378 } | 1381 } |