From 637f726a1340e630cfab384310e2faa1f27cbe5f Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 11 Jul 2011 10:33:43 +0000 Subject: Scale caret height in core svn path=/trunk/netsurf/; revision=12596 --- desktop/textinput.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop/textinput.c') diff --git a/desktop/textinput.c b/desktop/textinput.c index a351344cf..32d8f5167 100644 --- a/desktop/textinput.c +++ b/desktop/textinput.c @@ -79,7 +79,7 @@ void browser_window_place_caret(struct browser_window *bw, x = x * bw->scale + pos_x; y = y * bw->scale + pos_y; - gui_window_place_caret(root_bw->window, x, y, height); + gui_window_place_caret(root_bw->window, x, y, height * bw->scale); bw->caret_callback = caret_cb; bw->paste_callback = paste_cb; bw->move_callback = move_cb; -- cgit v1.2.3