diff options
author | James Bursa <james@netsurf-browser.org> | 2003-07-15 14:37:34 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2003-07-15 14:37:34 +0000 |
commit | 5911578eaf4f8944ca13dc7bce90d3ed7ab35237 (patch) | |
tree | 083c1fae02da1a3e4a3e9d90d01a68669716e31e /riscos/jpeg.c | |
parent | 613c7003e99806aa6d0c30df0d9f5f167dc5cae8 (diff) | |
download | netsurf-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.c | 3 |
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); } |