summaryrefslogtreecommitdiff
path: root/riscos/png.c
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2003-07-15 14:37:34 +0000
committerJames Bursa <james@netsurf-browser.org>2003-07-15 14:37:34 +0000
commit5911578eaf4f8944ca13dc7bce90d3ed7ab35237 (patch)
tree083c1fae02da1a3e4a3e9d90d01a68669716e31e /riscos/png.c
parent613c7003e99806aa6d0c30df0d9f5f167dc5cae8 (diff)
downloadnetsurf-5911578eaf4f8944ca13dc7bce90d3ed7ab35237.tar.gz
netsurf-5911578eaf4f8944ca13dc7bce90d3ed7ab35237.tar.bz2
[project @ 2003-07-15 14:37:34 by bursa]
Implement html_redraw. svn path=/import/netsurf/; revision=218
Diffstat (limited to 'riscos/png.c')
-rw-r--r--riscos/png.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/riscos/png.c b/riscos/png.c
index 96d049b59..8903159aa 100644
--- a/riscos/png.c
+++ b/riscos/png.c
@@ -325,7 +325,8 @@ void nspng_redraw(struct content *c, long x, long y,
xosspriteop_put_sprite_scaled(osspriteop_PTR,
c->data.png.sprite_area,
(osspriteop_id) (c->data.png.sprite_area + 1),
- x, y, os_ACTION_OVERWRITE, &factors, table);
+ x, y - c->height * 2,
+ os_ACTION_OVERWRITE, &factors, table);
xfree(table);
}