From 96a3aebf88f0ba5739990f98aeddd20ca99b5d6c Mon Sep 17 00:00:00 2001 From: "mkaply%us.ibm.com" Date: Fri, 22 Aug 2003 14:01:10 +0000 Subject: [PATCH] #216599 r=mkaply, sr=blizzard (platform specific), a=mkaply OS/2 only - off by one error printing transparent images --- gfx/src/os2/nsImageOS2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/src/os2/nsImageOS2.cpp b/gfx/src/os2/nsImageOS2.cpp index 97731642ec6b..35d984bf6e1e 100644 --- a/gfx/src/os2/nsImageOS2.cpp +++ b/gfx/src/os2/nsImageOS2.cpp @@ -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);