Mercurial > pidgin
diff src/gtkimhtml.c @ 2615:8b84198651c9
[gaim-migrate @ 2628]
yikes
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 25 Oct 2001 22:16:16 +0000 |
parents | 98928712e319 |
children | f8b02cf4af94 |
line wrap: on
line diff
--- a/src/gtkimhtml.c Thu Oct 25 20:58:01 2001 +0000 +++ b/src/gtkimhtml.c Thu Oct 25 22:16:16 2001 +0000 @@ -1799,6 +1799,14 @@ return gdk_font_ref (imhtml->default_font); if (!choice) { + for (i = 0; fontnames [i]; i++) + if (!g_strcasecmp (fontnames [i], DEFAULT_FONT_NAME)) + break; + if (fontnames [i]) + choice = g_strdup (DEFAULT_FONT_NAME); + } + + if (!choice) { if (imhtml->default_font) return gdk_font_ref (imhtml->default_font); return gdk_fontset_load ("-*-*-*-*-*-*-*-*-*-*-*-*-*-*,*");