summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-03-09 21:04:15 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-03-09 21:04:15 +0000
commit55fd1d0133d30ed68f29860fa867f17c1e7f78b4 (patch)
treeef91354d74bd1585616f8a6299b7b27082fbbd12 /riscos
parenta0e0d23c2df487d48ff12f7abdc35e05b1861dd1 (diff)
downloadnetsurf-55fd1d0133d30ed68f29860fa867f17c1e7f78b4.tar.gz
netsurf-55fd1d0133d30ed68f29860fa867f17c1e7f78b4.tar.bz2
Front ends don't need to call thumbnail_get_redraw_scale() now.
svn path=/trunk/netsurf/; revision=11946
Diffstat (limited to 'riscos')
-rw-r--r--riscos/thumbnail.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/riscos/thumbnail.c b/riscos/thumbnail.c
index 3bc25f335..92fa0cdb2 100644
--- a/riscos/thumbnail.c
+++ b/riscos/thumbnail.c
@@ -82,7 +82,6 @@ static void thumbnail_restore_output(struct thumbnail_save_area *save_area);
bool thumbnail_create(hlcache_handle *content, struct bitmap *bitmap,
const char *url)
{
- float scale = 1.0;
struct thumbnail_save_area *save_area;
osspriteop_area *sprite_area = NULL;
osspriteop_header *sprite_header = NULL;
@@ -114,8 +113,6 @@ bool thumbnail_create(hlcache_handle *content, struct bitmap *bitmap,
plot = ro_plotters;
ro_plot_origin_x = 0;
ro_plot_origin_y = bitmap->height * 2;
- if (content_get_width(content))
- scale = thumbnail_get_redraw_scale(content, bitmap->width);
/* switch output and redraw */
save_area = thumbnail_switch_output(sprite_area, sprite_header);