diff options
-rw-r--r-- | riscos/window.c | 4 |
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)); |