CompositeTags() was clipping one pixel too close.

svn path=/trunk/netsurf/; revision=7432
This commit is contained in:
Chris Young 2009-05-07 22:40:52 +00:00
parent e7cbf49fb9
commit 14a6c56748
2 changed files with 6 additions and 6 deletions

View File

@ -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);

View File

@ -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,