From a81a7b5af25789e3b3da65be11c4be0c22f7109a Mon Sep 17 00:00:00 2001 From: Chris Young Date: Tue, 15 Mar 2011 18:43:13 +0000 Subject: Only extend the clipping area for plain text contents svn path=/trunk/netsurf/; revision=12063 --- amiga/gui.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'amiga/gui.c') diff --git a/amiga/gui.c b/amiga/gui.c index d8599e6b7..ee4077d36 100755 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -3362,8 +3362,14 @@ void ami_do_redraw(struct gui_window_2 *g) { clip.x0 = 0; clip.y0 = 0; - clip.x1 = width + hcurrent; - clip.y1 = height + vcurrent; + clip.x1 = width; + clip.y1 = height; + + if(content_get_type(c) == CONTENT_TEXTPLAIN) + { + clip.x1 += hcurrent; + clip.y1 += vcurrent; + } } else { -- cgit v1.2.3