From 14a6c567480a508d948e3b753f38ed07a8d84d48 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Thu, 7 May 2009 22:40:52 +0000 Subject: CompositeTags() was clipping one pixel too close. svn path=/trunk/netsurf/; revision=7432 --- amiga/gui.c | 4 ++-- amiga/plotters.c | 8 ++++---- 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, -- cgit v1.2.3