summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-07-11 10:34:30 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-07-11 10:34:30 +0000
commit1832155b7c64e0a977541930fc78f47bbd675ab2 (patch)
treed0d4381207686b8620d5ed3c02503bb091dfdb92 /riscos
parent637f726a1340e630cfab384310e2faa1f27cbe5f (diff)
downloadnetsurf-1832155b7c64e0a977541930fc78f47bbd675ab2.tar.gz
netsurf-1832155b7c64e0a977541930fc78f47bbd675ab2.tar.bz2
Caret position is already scaled in core.
svn path=/trunk/netsurf/; revision=12597
Diffstat (limited to 'riscos')
-rw-r--r--riscos/window.c4
1 files changed, 1 insertions, 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));