From 42467f16dd454fad9d6a1b98e6951705504a4c30 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 24 Aug 2011 13:33:58 +0000 Subject: Don't need to set current_redraw_browser any more. svn path=/trunk/netsurf/; revision=12654 --- amiga/gui.c | 8 -------- amiga/thumbnail.c | 3 --- 2 files changed, 11 deletions(-) (limited to 'amiga') diff --git a/amiga/gui.c b/amiga/gui.c index dea57ca84..f2ceed9b1 100755 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -3209,8 +3209,6 @@ void ami_do_redraw_limits(struct gui_window *g, struct browser_window *bw, GetAttr(SPACE_AreaBox, g->shared->objects[GID_BROWSER], (ULONG *)&bbox); - current_redraw_browser = bw; - width=bbox->Width / bw->scale; height=bbox->Height / bw->scale; xoffset=bbox->Left; @@ -3286,8 +3284,6 @@ void ami_do_redraw_limits(struct gui_window *g, struct browser_window *bw, browserglob.rp = temprp; } } - - current_redraw_browser = NULL; } void gui_window_redraw_window(struct gui_window *g) @@ -3333,8 +3329,6 @@ void ami_do_redraw(struct gui_window_2 *g) c = g->bw->current_content; - current_redraw_browser = g->bw; - width=bbox->Width; height=bbox->Height; xoffset=bbox->Left; @@ -3448,8 +3442,6 @@ void ami_do_redraw(struct gui_window_2 *g) } } - current_redraw_browser = NULL; - ami_update_buttons(g); g->oldh = hcurrent; diff --git a/amiga/thumbnail.c b/amiga/thumbnail.c index af0375ba8..8b755fac6 100755 --- a/amiga/thumbnail.c +++ b/amiga/thumbnail.c @@ -58,12 +58,9 @@ bool thumbnail_create(hlcache_handle *content, struct bitmap *bitmap, bitmap->nativebmwidth = bitmap->width; bitmap->nativebmheight = bitmap->height; ami_clearclipreg(&browserglob); - current_redraw_browser = curbw; thumbnail_redraw(content, plot_width, plot_height, &ctx); - current_redraw_browser = NULL; - if(GfxBase->LibNode.lib_Version >= 53) // AutoDoc says v52, but this function isn't in OS4.0, so checking for v53 (OS4.1) { float resample_scale = bitmap->width / (float)plot_width; -- cgit v1.2.3