summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2009-05-09 19:44:10 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2009-05-09 19:44:10 +0000
commit4387f7b494eecc482aac40ab73ed9d549289037b (patch)
treea4727e53feeddd67c1951b50afdbaad6f8b1b180
parentc523d9f20b57ceb4d015be87a7bef8841dbc5e2b (diff)
downloadnetsurf-4387f7b494eecc482aac40ab73ed9d549289037b.tar.gz
netsurf-4387f7b494eecc482aac40ab73ed9d549289037b.tar.bz2
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
-rwxr-xr-xamiga/history_local.c12
1 files 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 <intuition/icclass.h>
#include <proto/utility.h>
#include "utils/messages.h"
+#include "amiga/plotters.h"
#include <proto/window.h>
#include <proto/space.h>
@@ -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);
}
/**