diff options
Diffstat (limited to 'frontends/amiga/history_local.c')
-rwxr-xr-x | frontends/amiga/history_local.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/frontends/amiga/history_local.c b/frontends/amiga/history_local.c index 3d1c6f39b..8cce869c9 100755 --- a/frontends/amiga/history_local.c +++ b/frontends/amiga/history_local.c @@ -87,7 +87,8 @@ static void ami_history_redraw(struct history_window *hw) struct redraw_context ctx = { .interactive = true, .background_images = true, - .plot = &amiplot + .plot = &amiplot, + .priv = hw->gg }; GetAttr(SCROLLER_Top,hw->objects[OID_HSCROLL],(ULONG *)&xs); @@ -97,16 +98,14 @@ static void ami_history_redraw(struct history_window *hw) return; } - glob = hw->gg; - +/* core should clear this area for us SetRPAttrs(glob->rp, RPTAG_APenColor, 0xffffffff, TAG_DONE); RectFill(glob->rp, 0, 0, bbox->Width - 1, bbox->Height - 1); +*/ browser_window_history_redraw_rectangle(hw->gw->bw, xs, ys, bbox->Width + xs, bbox->Height + ys, 0, 0, &ctx); - ami_gui_set_default_gg(); - ami_clearclipreg(hw->gg); ami_history_update_extent(hw); |