diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/textarea.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |