summaryrefslogtreecommitdiff
path: root/riscos/jpeg.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/jpeg.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/jpeg.c')
-rw-r--r--riscos/jpeg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/riscos/jpeg.c b/riscos/jpeg.c
index 6f091a904..816c4a2da 100644
--- a/riscos/jpeg.c
+++ b/riscos/jpeg.c
@@ -79,7 +79,8 @@ void jpeg_redraw(struct content *c, long x, long y,
factors.ydiv = c->height * 2;
xjpeg_plot_scaled((jpeg_image *) c->data.jpeg.data,
- x, y, &factors, (int) c->data.jpeg.length,
+ x, y - c->height * 2,
+ &factors, (int) c->data.jpeg.length,
jpeg_SCALE_DITHERED);
}