r=mkaply, sr=blizzard (platform specific), a=mkaply
OS/2 only - off by one error printing transparent images
This commit is contained in:
mkaply%us.ibm.com 2003-08-22 14:01:10 +00:00
Родитель 52f5b43c35
Коммит 96a3aebf88
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -396,7 +396,7 @@ nsImageOS2 :: Draw(nsIRenderingContext &aContext, nsDrawingSurface aSurface,
POINTL aptlNew[ 4] = { { 0, 0 }, // TLL
{ bihMem.cx, bihMem.cy }, // TUR
{ aSX, mInfo->cy - (aSY + aSHeight) }, // SLL
{ aSX + aSWidth+1, mInfo->cy - aSY+1 } }; // SUR
{ aSX + aSWidth + 1, mInfo->cy - aSY + 1 } }; // SUR
// Apply mask to target, clear pels we will fill in from the image
MONOBITMAPINFO MaskBitmapInfo (mInfo);