diff --git a/gfx/src/beos/nsImageBeOS.cpp b/gfx/src/beos/nsImageBeOS.cpp index de3e085aef0..7d62e339641 100644 --- a/gfx/src/beos/nsImageBeOS.cpp +++ b/gfx/src/beos/nsImageBeOS.cpp @@ -494,7 +494,7 @@ NS_IMETHODIMP nsImageBeOS::DrawToImage(nsIImage *aDstImage, nscoord aDX, nscoord } RectStretch(mWidth, mHeight, aDWidth, aDHeight, - aDWidth-1, aDHeight-1, + 0, 0, aDWidth-1, aDHeight-1, mAlphaBits, mAlphaRowBytes, scaledAlpha, alphaStride, mAlphaDepth); } rgbPtr = scaledImage;