Fix incorrect coordinates for painting mask.

This commit is contained in:
Kevin Koltzau 2004-02-03 21:28:57 +00:00 committed by Alexandre Julliard
parent ee2608d5aa
commit 7f0b28a785
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}