From 5487b42cb783dca4c39cb865efa43e6c897ea61e Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 12 Feb 2011 10:54:41 +0000 Subject: Fix clip parameters, plain text scrolling now works svn path=/trunk/netsurf/; revision=11650 --- amiga/gui.c | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/amiga/gui.c b/amiga/gui.c index ed76ec718..f58395c32 100755 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -3295,28 +3295,14 @@ void ami_do_redraw(struct gui_window_2 *g) clip.x0 = 0; clip.y0 = 0; - clip.x1 = width; - clip.y1 = height; + clip.x1 = width + hcurrent; + clip.y1 = height + vcurrent; ami_clg(0xffffff); glob->scale = g->bw->scale; browser_window_redraw(g->bw, -hcurrent, -vcurrent, clip); -#if 0 - } - else - { - content_redraw(c, -hcurrent /* * g->bw->scale */, - -vcurrent /* * g->bw->scale */, - (width / g->bw->scale), //- hcurrent, - (height / g->bw->scale), // - vcurrent, - hcurrent, vcurrent, width + hcurrent /* * g->bw->scale */, - height + vcurrent /* * g->bw->scale */, - g->bw->scale,0xFFFFFF); - - } -#endif ami_clearclipreg(&browserglob); BltBitMapRastPort(browserglob.bm,0,0,g->win->RPort,bbox->Left,bbox->Top, bbox->Width,bbox->Height,0x0C0); -- cgit v1.2.3