summaryrefslogtreecommitdiff
path: root/amiga/plotters.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2009-05-07 22:40:52 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2009-05-07 22:40:52 +0000
commit14a6c567480a508d948e3b753f38ed07a8d84d48 (patch)
tree18e6460167a99def38348ff8fc8d3a245138fb52 /amiga/plotters.c
parente7cbf49fb91b6508e2c65c5fbe24d775e5fe7be2 (diff)
downloadnetsurf-14a6c567480a508d948e3b753f38ed07a8d84d48.tar.gz
netsurf-14a6c567480a508d948e3b753f38ed07a8d84d48.tar.bz2
CompositeTags() was clipping one pixel too close.
svn path=/trunk/netsurf/; revision=7432
Diffstat (limited to 'amiga/plotters.c')
-rwxr-xr-xamiga/plotters.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/amiga/plotters.c b/amiga/plotters.c
index ce1184703..1b13fa70a 100755
--- a/amiga/plotters.c
+++ b/amiga/plotters.c
@@ -375,8 +375,8 @@ bool ami_bitmap(int x, int y, int width, int height,
COMPTAG_Flags,COMPFLAG_IgnoreDestAlpha,
COMPTAG_DestX,glob.rect.MinX,
COMPTAG_DestY,glob.rect.MinY,
- COMPTAG_DestWidth,glob.rect.MaxX - glob.rect.MinX,
- COMPTAG_DestHeight,glob.rect.MaxY - glob.rect.MinY,
+ COMPTAG_DestWidth,glob.rect.MaxX - glob.rect.MinX + 1,
+ COMPTAG_DestHeight,glob.rect.MaxY - glob.rect.MinY + 1,
COMPTAG_SrcWidth,width,
COMPTAG_SrcHeight,height,
COMPTAG_OffsetX,x,
@@ -445,8 +445,8 @@ bool ami_bitmap_tile(int x, int y, int width, int height,
COMPTAG_Flags,COMPFLAG_IgnoreDestAlpha,
COMPTAG_DestX,glob.rect.MinX,
COMPTAG_DestY,glob.rect.MinY,
- COMPTAG_DestWidth,glob.rect.MaxX - glob.rect.MinX,
- COMPTAG_DestHeight,glob.rect.MaxY - glob.rect.MinY,
+ COMPTAG_DestWidth,glob.rect.MaxX - glob.rect.MinX + 1,
+ COMPTAG_DestHeight,glob.rect.MaxY - glob.rect.MinY + 1,
COMPTAG_SrcWidth,width,
COMPTAG_SrcHeight,height,
COMPTAG_OffsetX,xf,