diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2006-01-02 23:31:29 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2006-01-02 23:31:29 +0000 |
commit | 611ec68e46d77168ff16b00e083d362e29be007d (patch) | |
tree | 99791ff6b9decdf44d870677f9c0151581f7785c /riscos/font.c | |
parent | e68f319778277b34a4ade12a4c003b81c1b6c5a0 (diff) | |
download | netsurf-611ec68e46d77168ff16b00e083d362e29be007d.tar.gz netsurf-611ec68e46d77168ff16b00e083d362e29be007d.tar.bz2 |
[project @ 2006-01-02 23:31:28 by jmb]
Implement font default option properly
svn path=/import/netsurf/; revision=1969
Diffstat (limited to 'riscos/font.c')
-rw-r--r-- | riscos/font.c | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/riscos/font.c b/riscos/font.c index 622f713c2..4bbfcc8b0 100644 --- a/riscos/font.c +++ b/riscos/font.c @@ -452,26 +452,7 @@ void nsfont_read_style(const struct css_style *style, *font_family = option_font_fantasy; break; default: - switch (option_font_default) { - case CSS_FONT_FAMILY_SANS_SERIF: - *font_family = option_font_sans; - break; - case CSS_FONT_FAMILY_SERIF: - *font_family = option_font_serif; - break; - case CSS_FONT_FAMILY_MONOSPACE: - *font_family = option_font_mono; - break; - case CSS_FONT_FAMILY_CURSIVE: - *font_family = option_font_cursive; - break; - case CSS_FONT_FAMILY_FANTASY: - *font_family = option_font_fantasy; - break; - default: - *font_family = option_font_sans; - break; - } + *font_family = option_font_sans; break; } |