summaryrefslogtreecommitdiff
path: root/amiga
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2011-03-15 18:43:13 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2011-03-15 18:43:13 +0000
commita81a7b5af25789e3b3da65be11c4be0c22f7109a (patch)
treee3b7ca00f5f15475c9e7092787dcff104530d368 /amiga
parenta4b99f5c313d8548e52ddd5c71277e9a7c060d29 (diff)
downloadnetsurf-a81a7b5af25789e3b3da65be11c4be0c22f7109a.tar.gz
netsurf-a81a7b5af25789e3b3da65be11c4be0c22f7109a.tar.bz2
Only extend the clipping area for plain text contents
svn path=/trunk/netsurf/; revision=12063
Diffstat (limited to 'amiga')
-rwxr-xr-xamiga/gui.c10
1 files changed, 8 insertions, 2 deletions
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
{