summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-08-24 13:33:58 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-08-24 13:33:58 +0000
commit42467f16dd454fad9d6a1b98e6951705504a4c30 (patch)
treeda63fb2dd5191dadd2b759c473bae09132d41669
parent6fed7755659bc74423f29a998d25886616a6450b (diff)
downloadnetsurf-42467f16dd454fad9d6a1b98e6951705504a4c30.tar.gz
netsurf-42467f16dd454fad9d6a1b98e6951705504a4c30.tar.bz2
Don't need to set current_redraw_browser any more.
svn path=/trunk/netsurf/; revision=12654
-rwxr-xr-xamiga/gui.c8
-rwxr-xr-xamiga/thumbnail.c3
2 files changed, 0 insertions, 11 deletions
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;