# HG changeset patch # User Eric Warmenhoven # Date 966378244 0 # Node ID 6b1345121dd3147300fac5951f88450cb6aa0120 # Parent 02ef523db170fc63053006d1820a198daaeec365 [gaim-migrate @ 698] :) committer: Tailor Script diff -r 02ef523db170 -r 6b1345121dd3 src/conversation.c --- a/src/conversation.c Tue Aug 15 22:12:14 2000 +0000 +++ b/src/conversation.c Tue Aug 15 22:24:04 2000 +0000 @@ -406,6 +406,7 @@ } sprintf(c->fontface, "%s", newfont ? (newfont[0] ? newfont : "Helvetica") : "Helvetica"); + c->hasfont = 1; surround(c->entry, pre_fontface, ""); gtk_widget_grab_focus(c->entry); @@ -575,7 +576,7 @@ strcpy(buf, buf2); } - if (font_options & OPT_FONT_FACE) { + if ((font_options & OPT_FONT_FACE) || c->hasfont) { g_snprintf(buf2, BUF_LONG, "%s", c->fontface, buf); strcpy(buf, buf2); } @@ -1589,6 +1590,7 @@ c->link_dialog = NULL; c->log_dialog = NULL; sprintf(c->fontface, "%s", fontface); + c->hasfont = 0; c->bgcol = bgcolor; c->fgcol = fgcolor; diff -r 02ef523db170 -r 6b1345121dd3 src/gaim.h --- a/src/gaim.h Tue Aug 15 22:12:14 2000 +0000 +++ b/src/gaim.h Tue Aug 15 22:24:04 2000 +0000 @@ -276,6 +276,7 @@ GtkWidget *log_dialog; int makesound; char fontface[128]; + int hasfont; int bgcol; int fgcol; @@ -396,7 +397,7 @@ #define TYPE_SIGNOFF 4 #define TYPE_KEEPALIVE 5 -#define REVISION "gaim:$Revision: 697 $" +#define REVISION "gaim:$Revision: 698 $" #define FLAPON "FLAPON\r\n\r\n" #define ROAST "Tic/Toc"