From 55fd1d0133d30ed68f29860fa867f17c1e7f78b4 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 9 Mar 2011 21:04:15 +0000 Subject: Front ends don't need to call thumbnail_get_redraw_scale() now. svn path=/trunk/netsurf/; revision=11946 --- riscos/thumbnail.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'riscos') 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); -- cgit v1.2.3