comparison 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
comparison
equal deleted inserted replaced
1888:dedcd9e6f3e8 1889:c81f3dd0e58e
770 if (!strlen(buf)) { 770 if (!strlen(buf)) {
771 g_free(buf); 771 g_free(buf);
772 return; 772 return;
773 } 773 }
774 774
775 if (general_options & OPT_GEN_SEND_LINKS)
776 linkify_text(buf);
777
778 buf2 = g_malloc(limit); 775 buf2 = g_malloc(limit);
779 776
780 if (c->gc->prpl->options & OPT_PROTO_HTML) { 777 if (c->gc->prpl->options & OPT_PROTO_HTML) {
778 if (general_options & OPT_GEN_SEND_LINKS)
779 linkify_text(buf);
780
781 if (font_options & OPT_FONT_BOLD) { 781 if (font_options & OPT_FONT_BOLD) {
782 g_snprintf(buf2, limit, "<B>%s</B>", buf); 782 g_snprintf(buf2, limit, "<B>%s</B>", buf);
783 strcpy(buf, buf2); 783 strcpy(buf, buf2);
784 } 784 }
785 785