Mercurial > pidgin
comparison src/conversation.c @ 2761:367d19133917
[gaim-migrate @ 2774]
decklin's patch
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Mon, 19 Nov 2001 11:14:55 +0000 |
parents | 8ff0bd0f7347 |
children | 477a035d81e5 |
comparison
equal
deleted
inserted
replaced
2760:72272d43e265 | 2761:367d19133917 |
---|---|
507 pre_fontface = g_strconcat("<FONT FACE=\"", newfont, "\">", '\0'); | 507 pre_fontface = g_strconcat("<FONT FACE=\"", newfont, "\">", '\0'); |
508 | 508 |
509 if (!strcmp(pre_fontface, "<FONT FACE=\"\">")) { | 509 if (!strcmp(pre_fontface, "<FONT FACE=\"\">")) { |
510 g_free(pre_fontface); | 510 g_free(pre_fontface); |
511 alloc--; | 511 alloc--; |
512 pre_fontface = "<FONT FACE=\"Helvetica\">"; | 512 pre_fontface = "<FONT FACE=\"" DEFAULT_FONT_FACE "\">"; |
513 } | 513 } |
514 | 514 |
515 sprintf(c->fontface, "%s", newfont ? (newfont[0] ? newfont : "Helvetica") : "Helvetica"); | 515 sprintf(c->fontface, "%s", newfont ? |
516 (newfont[0] ? newfont : DEFAULT_FONT_FACE) : DEFAULT_FONT_FACE); | |
516 c->hasfont = 1; | 517 c->hasfont = 1; |
517 surround(c->entry, pre_fontface, "</FONT>"); | 518 surround(c->entry, pre_fontface, "</FONT>"); |
518 gtk_widget_grab_focus(c->entry); | 519 gtk_widget_grab_focus(c->entry); |
519 | 520 |
520 if (alloc) | 521 if (alloc) |