From 1832155b7c64e0a977541930fc78f47bbd675ab2 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 11 Jul 2011 10:34:30 +0000 Subject: Caret position is already scaled in core. svn path=/trunk/netsurf/; revision=12597 --- riscos/window.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/riscos/window.c b/riscos/window.c index 1fbe48650..dbbfb81be 100644 --- a/riscos/window.c +++ b/riscos/window.c @@ -1276,9 +1276,7 @@ void gui_window_place_caret(struct gui_window *g, int x, int y, int height) os_error *error; error = xwimp_set_caret_position(g->window, -1, - x * 2 * g->bw->scale, - -(y + height) * 2 * g->bw->scale, - height * 2 * g->bw->scale, -1); + x * 2, -(y + height) * 2, height * 2, -1); if (error) { LOG(("xwimp_set_caret_position: 0x%x: %s", error->errnum, error->errmess)); -- cgit v1.2.3