From 7f0b28a785cf4fc3d1e28ba554efc63f637673e6 Mon Sep 17 00:00:00 2001 From: Kevin Koltzau Date: Tue, 3 Feb 2004 21:28:57 +0000 Subject: [PATCH] Fix incorrect coordinates for painting mask. --- graphics/bitblt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphics/bitblt.c b/graphics/bitblt.c index 9e3d62faef8..1d9e8bfb01f 100644 --- a/graphics/bitblt.c +++ b/graphics/bitblt.c @@ -366,7 +366,7 @@ BOOL WINAPI GdiTransparentBlt( HDC hdcDest, int xDest, int yDest, int widthDest, } /* Replace non-transparent area on destination with black */ - if(!BitBlt(hdcDest, 0, 0, widthDest, heightDest, hdcMask, 0, 0, SRCAND)) { + if(!BitBlt(hdcDest, xDest, yDest, widthDest, heightDest, hdcMask, 0, 0, SRCAND)) { TRACE("Failed to clear destination area\n"); goto error; } -- 2.11.4.GIT