summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-07-11 10:33:43 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-07-11 10:33:43 +0000
commit637f726a1340e630cfab384310e2faa1f27cbe5f (patch)
tree263567399a100c13f2582ba4de7e0b8913617e5e /desktop
parentb34502af8247606ae3b5693cd3046566b16a3e6d (diff)
downloadnetsurf-637f726a1340e630cfab384310e2faa1f27cbe5f.tar.gz
netsurf-637f726a1340e630cfab384310e2faa1f27cbe5f.tar.bz2
Scale caret height in core
svn path=/trunk/netsurf/; revision=12596
Diffstat (limited to 'desktop')
-rw-r--r--desktop/textinput.c2
1 files changed, 1 insertions, 1 deletions
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;