src/conversation.c

changeset 1889
3084b2e1dd99
parent 1881
bcd5d457cdbb
child 1898
695a31e4452b
equal deleted inserted replaced
1888:ce09875528c4 1889:3084b2e1dd99
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

mercurial