summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'desktop')
-rw-r--r--desktop/textarea.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/desktop/textarea.c b/desktop/textarea.c
index bfbed4232..2e727605a 100644
--- a/desktop/textarea.c
+++ b/desktop/textarea.c
@@ -1052,9 +1052,8 @@ struct textarea *textarea_create(const textarea_flags flags,
}
ret->line_height = FIXTOINT(FDIV((FMUL(FLTTOFIX(1.3),
- FMUL(nscss_screen_dpi,
- INTTOFIX((setup->text.size /
- FONT_SIZE_SCALE))))), F_72));
+ FMUL(nscss_screen_dpi, INTTOFIX((setup->text.size))))),
+ FONT_SIZE_SCALE * F_72));
ret->caret_pos.line = ret->caret_pos.char_off = -1;
ret->caret_x = 0;