| 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 |