Mercurial > pidgin.yaz
changeset 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 | c914dc05d3fe |
children | 7a158753b8d6 |
files | src/conversation.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/conversation.c Sat Dec 22 00:31:01 2001 +0000 +++ b/src/conversation.c Sat Dec 22 00:35:53 2001 +0000 @@ -1593,7 +1593,7 @@ gtk_imhtml_append_text(GTK_IMHTML(c->text), buf, -1, 0); } else { if (c->gc->flags & OPT_CONN_HTML) - what = g_memdup(what, length); + what = g_memdup(what, length == -1 ? strlen(what) + 1 : length); else what = escape_html(what, &length); if (flags & WFLAG_WHISPER) {