summaryrefslogtreecommitdiff
path: root/render/font.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2012-03-22 09:34:34 +0000
committerVincent Sanders <vince@netsurf-browser.org>2012-03-22 09:34:34 +0000
commit1490b52a6b96b6a69a0c4fe9e0515dc717425128 (patch)
tree8caba44a9da98e6cebf4f188e3232534b1596a4d /render/font.c
parent0797bf5a5731b2c8d55105b453530584ea4e1f5b (diff)
downloadnetsurf-1490b52a6b96b6a69a0c4fe9e0515dc717425128.tar.gz
netsurf-1490b52a6b96b6a69a0c4fe9e0515dc717425128.tar.bz2
NetSurf options rework (a=vince r=daniels,jmb)
svn path=/trunk/netsurf/; revision=13548
Diffstat (limited to 'render/font.c')
-rw-r--r--render/font.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/render/font.c b/render/font.c
index 87511b261..a98a89ada 100644
--- a/render/font.c
+++ b/render/font.c
@@ -49,8 +49,8 @@ void font_plot_style_from_css(const css_computed_style *css,
INTTOFIX(FONT_SIZE_SCALE)));
/* Clamp font size to configured minimum */
- if (fstyle->size < (option_font_min_size * FONT_SIZE_SCALE) / 10)
- fstyle->size = (option_font_min_size * FONT_SIZE_SCALE) / 10;
+ if (fstyle->size < (nsoption_int(font_min_size) * FONT_SIZE_SCALE) / 10)
+ fstyle->size = (nsoption_int(font_min_size) * FONT_SIZE_SCALE) / 10;
fstyle->weight = plot_font_weight(css_computed_font_weight(css));
fstyle->flags = plot_font_flags(css_computed_font_style(css),