Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: Mark Doliner <thekingant@us...> - 2004-03-25 05:14:52
|
Update of /cvsroot/gaim/gaim/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29872 Modified Files: util.c Log Message: 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 Index: util.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/util.c,v retrieving revision 1.271 retrieving revision 1.272 diff -u -d -p -r1.271 -r1.272 --- util.c 14 Mar 2004 05:42:56 -0000 1.271 +++ util.c 25 Mar 2004 05:04:02 -0000 1.272 @@ -1371,6 +1371,9 @@ gaim_unescape_html(const char *html) { } 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++; |