From 74f108ee4dc5b915dfc8de0f88485245831ea7a9 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 12 Mar 2011 17:46:11 +0000 Subject: Saturated maths in css fixed point svn path=/trunk/netsurf/; revision=11975 --- render/form.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'render/form.c') diff --git a/render/form.c b/render/form.c index fd16b8bab..8a52a4fdb 100644 --- a/render/form.c +++ b/render/form.c @@ -900,10 +900,7 @@ bool form_open_select_menu(void *client_data, &fstyle); menu->f_size = fstyle.size; - menu->line_height = - FIXTOINT(FDIVI((FMUL(FLTTOFIX(1.2), - FMULI(nscss_screen_dpi, - (fstyle.size / FONT_SIZE_SCALE)))), 72)); + menu->line_height = FIXTOINT(FDIV((FMUL(FLTTOFIX(1.2), FMUL(nscss_screen_dpi, INTTOFIX((fstyle.size / FONT_SIZE_SCALE))))), F_72)); line_height_with_spacing = menu->line_height + menu->line_height * -- cgit v1.2.3