From 4387f7b494eecc482aac40ab73ed9d549289037b Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 9 May 2009 19:44:10 +0000 Subject: Local history started drawing on the browser window instead of the history window for some reason. This makes it draw to the usual global bitmap and blit across to the history window instead. svn path=/trunk/netsurf/; revision=7453 --- amiga/history_local.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/amiga/history_local.c b/amiga/history_local.c index 3c07fbf22..33948f9b0 100755 --- a/amiga/history_local.c +++ b/amiga/history_local.c @@ -39,6 +39,7 @@ #include #include #include "utils/messages.h" +#include "amiga/plotters.h" #include #include @@ -157,20 +158,19 @@ void ami_history_redraw(struct history_window *hw) GetAttr(SCROLLER_Top,hw->objects[OID_HSCROLL],(ULONG *)&xs); GetAttr(SCROLLER_Top,hw->objects[OID_VSCROLL],(ULONG *)&ys); - //ami_clg(0xffffff); + ami_clg(0xffffff); RefreshGadgets(hw->gadgets[GID_MAIN],hw->win,NULL); - currp = hw->win->RPort; +// currp = hw->win->RPort; history_redraw_rectangle(history_current, xs, ys, - bbox->Width + xs, bbox->Height + ys, - bbox->Left, bbox->Top); + bbox->Width + xs, bbox->Height + ys, 0, 0); - currp = &glob.rp; +// currp = &glob.rp; ami_clearclipreg(currp); ami_history_update_extent(hw); -// BltBitMapRastPort(glob.bm,0,0,hw->win->RPort,bbox->Left,bbox->Top,bbox->Width,bbox->Height,0x0C0); + BltBitMapRastPort(glob.bm,0,0,hw->win->RPort,bbox->Left,bbox->Top,bbox->Width,bbox->Height,0x0C0); } /** -- cgit v1.2.3