comparison src/conversation.c @ 2914:7a0ca6ce404f

[gaim-migrate @ 2927] whoops committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 22 Dec 2001 00:35:53 +0000
parents 152d726312b2
children 4254491c722b
comparison
equal deleted inserted replaced
2913:c914dc05d3fe 2914:7a0ca6ce404f
1591 } else if (flags & WFLAG_NOLOG) { 1591 } else if (flags & WFLAG_NOLOG) {
1592 g_snprintf(buf, BUF_LONG, "<B><FONT COLOR=\"#777777\">%s</FONT></B><BR>", what); 1592 g_snprintf(buf, BUF_LONG, "<B><FONT COLOR=\"#777777\">%s</FONT></B><BR>", what);
1593 gtk_imhtml_append_text(GTK_IMHTML(c->text), buf, -1, 0); 1593 gtk_imhtml_append_text(GTK_IMHTML(c->text), buf, -1, 0);
1594 } else { 1594 } else {
1595 if (c->gc->flags & OPT_CONN_HTML) 1595 if (c->gc->flags & OPT_CONN_HTML)
1596 what = g_memdup(what, length); 1596 what = g_memdup(what, length == -1 ? strlen(what) + 1 : length);
1597 else 1597 else
1598 what = escape_html(what, &length); 1598 what = escape_html(what, &length);
1599 if (flags & WFLAG_WHISPER) { 1599 if (flags & WFLAG_WHISPER) {
1600 /* if we're whispering, it's not an autoresponse */ 1600 /* if we're whispering, it's not an autoresponse */
1601 if (meify(what, length)) { 1601 if (meify(what, length)) {