summaryrefslogtreecommitdiff
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
parente7cbf49fb91b6508e2c65c5fbe24d775e5fe7be2 (diff)
downloadnetsurf-14a6c567480a508d948e3b753f38ed07a8d84d48.tar.gz
netsurf-14a6c567480a508d948e3b753f38ed07a8d84d48.tar.bz2
CompositeTags() was clipping one pixel too close.
svn path=/trunk/netsurf/; revision=7432
-rwxr-xr-xamiga/gui.c4
-rwxr-xr-xamiga/plotters.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index 39ea08dc8..13f14837d 100755
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -256,7 +256,7 @@ void gui_init(int argc, char** argv)
{
continue;
}
- strcat(lang,"/messages");
+ strcat(lang,"/Messages");
// printf("%s\n",lang);
if(lock=Lock(lang,ACCESS_READ))
{
@@ -268,7 +268,7 @@ void gui_init(int argc, char** argv)
if(!found)
{
- strcpy(lang,"PROGDIR:Resources/en/messages");
+ strcpy(lang,"PROGDIR:Resources/en/Messages");
}
CloseLocale(locale);
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,