From: Eric W. <war...@us...> - 2001-11-14 06:21:00
|
Update of /cvsroot/gaim/gaim/src/protocols/yahoo In directory usw-pr-cvs1:/tmp/cvs-serv15526 Modified Files: yahoo.c Log Message: this is what the old one did Index: yahoo.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/yahoo/yahoo.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- yahoo.c 2001/11/11 18:07:45 1.9 +++ yahoo.c 2001/11/14 06:20:56 1.10 @@ -483,7 +483,18 @@ } if (pkt->status == 1) { + char *m; + int i, j; strip_linefeed(msg); + m = msg; + for (i = 0, j = 0; m[i]; i++) { + if (m[i] == 033) { + while (m[i] != 'm') + i++; + continue; + } + msg[j++] = m[i]; + } serv_got_im(gc, from, msg, 0, tm); } else if (pkt->status == 2) { do_error_dialog(_("Your message did not get sent."), _("Gaim - Error")); |