Thu, 24 May 2001 21:12:36 +0000
[gaim-migrate @ 1899]
don't linkify urls for non-html-enabled protocols
| src/conversation.c | file | annotate | diff | comparison | revisions |
--- 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);