summaryrefslogtreecommitdiff
path: root/amiga/history_local.c
diff options
context:
space:
mode:
Diffstat (limited to 'amiga/history_local.c')
-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);
}
/**