From 3be8193500fc6b77d69be4b9314682596b9e0cf8 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 27 Jul 2009 14:58:06 +0000 Subject: Port r8808 to trunk. svn path=/trunk/netsurf/; revision=8825 --- desktop/textarea.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop') diff --git a/desktop/textarea.c b/desktop/textarea.c index a12299a8d..dafe4688f 100644 --- a/desktop/textarea.c +++ b/desktop/textarea.c @@ -443,7 +443,7 @@ bool textarea_set_caret(struct text_area *ta, int caret) if (caret != -1 && (unsigned)caret > c_len) caret = c_len; - height = ta->fstyle.size * nscss_screen_dpi / 72; + height = ta->line_height; /* Delete the old caret */ if (ta->caret_pos.char_off != -1) { -- cgit v1.2.3