fixed wrong rendering of clipped characters

svn path=/trunk/; revision=8835
This commit is contained in:
Thomas Bluemel 2004-03-22 14:58:56 +00:00
parent a3695d5fcb
commit cebfd88253

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/ */
/* $Id: bitblt.c,v 1.42 2004/02/24 13:27:02 weiden Exp $ /* $Id: bitblt.c,v 1.43 2004/03/22 14:58:56 weiden Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -892,7 +892,7 @@ AlphaBltMask(SURFOBJ* Dest,
g = (int)GetGValue(BrushColor); g = (int)GetGValue(BrushColor);
b = (int)GetBValue(BrushColor); b = (int)GetBValue(BrushColor);
tMask = Mask->pvBits + MaskPoint->y * Mask->lDelta + MaskPoint->x; tMask = Mask->pvBits + (SourcePoint->y * Mask->lDelta) + SourcePoint->x;
for (j = 0; j < dy; j++) for (j = 0; j < dy; j++)
{ {
lMask = tMask; lMask = tMask;