summaryrefslogtreecommitdiff
path: root/render/font.c
diff options
context:
space:
mode:
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),