Mercurial > pidgin
diff src/conversation.c @ 1889:c81f3dd0e58e
[gaim-migrate @ 1899]
don't linkify urls for non-html-enabled protocols
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 24 May 2001 21:12:36 +0000 |
parents | a02584b98823 |
children | 73d73939f698 |
line wrap: on
line diff
--- a/src/conversation.c Thu May 24 21:08:24 2001 +0000 +++ b/src/conversation.c Thu May 24 21:12:36 2001 +0000 @@ -772,12 +772,12 @@ return; } - if (general_options & OPT_GEN_SEND_LINKS) - linkify_text(buf); - buf2 = g_malloc(limit); if (c->gc->prpl->options & OPT_PROTO_HTML) { + if (general_options & OPT_GEN_SEND_LINKS) + linkify_text(buf); + if (font_options & OPT_FONT_BOLD) { g_snprintf(buf2, limit, "<B>%s</B>", buf); strcpy(buf, buf2);