CompositeTags() was clipping one pixel too close.
svn path=/trunk/netsurf/; revision=7432
This commit is contained in:
parent
e7cbf49fb9
commit
14a6c56748
|
@ -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);
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue