Mercurial > pidgin
comparison src/conversation.c @ 2699:092c5a1ddf72
[gaim-migrate @ 2712]
god damn you.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Fri, 09 Nov 2001 03:11:56 +0000 |
parents | 37d80035e77f |
children | e841b14b5b89 |
comparison
equal
deleted
inserted
replaced
2698:e80f4b4f840f | 2699:092c5a1ddf72 |
---|---|
839 if ((font_options & OPT_FONT_FACE) || c->hasfont) { | 839 if ((font_options & OPT_FONT_FACE) || c->hasfont) { |
840 g_snprintf(buf2, limit, "<FONT FACE=\"%s\">%s</FONT>", c->fontface, buf); | 840 g_snprintf(buf2, limit, "<FONT FACE=\"%s\">%s</FONT>", c->fontface, buf); |
841 strcpy(buf, buf2); | 841 strcpy(buf, buf2); |
842 } | 842 } |
843 | 843 |
844 if ((font_options & OPT_FONT_SIZE) || c->hassize) { | 844 if (font_options & OPT_FONT_SIZE) { |
845 g_snprintf(buf2, limit, "<FONT SIZE=\"%d\">%s</FONT>", c->fontsize, buf); | 845 g_snprintf(buf2, limit, "<FONT SIZE=\"%d\">%s</FONT>", fontsize, buf); |
846 strcpy(buf, buf2); | 846 strcpy(buf, buf2); |
847 } | 847 } |
848 | 848 |
849 if ((font_options & OPT_FONT_FGCOL) || c->hasfg) { | 849 if ((font_options & OPT_FONT_FGCOL) || c->hasfg) { |
850 g_snprintf(buf2, limit, "<FONT COLOR=\"#%02X%02X%02X\">%s</FONT>", c->fgcol.red, | 850 g_snprintf(buf2, limit, "<FONT COLOR=\"#%02X%02X%02X\">%s</FONT>", c->fgcol.red, |
2148 c->smiley_dialog = NULL; | 2148 c->smiley_dialog = NULL; |
2149 c->link_dialog = NULL; | 2149 c->link_dialog = NULL; |
2150 c->log_dialog = NULL; | 2150 c->log_dialog = NULL; |
2151 sprintf(c->fontface, "%s", fontface); | 2151 sprintf(c->fontface, "%s", fontface); |
2152 c->hasfont = 0; | 2152 c->hasfont = 0; |
2153 c->fontsize = fontsize; | |
2154 c->hassize = 0; | |
2155 c->bgcol = bgcolor; | 2153 c->bgcol = bgcolor; |
2156 c->hasbg = 0; | 2154 c->hasbg = 0; |
2157 c->fgcol = fgcolor; | 2155 c->fgcol = fgcolor; |
2158 c->hasfg = 0; | 2156 c->hasfg = 0; |
2159 | 2157 |