From cebfd8825341a50c06d2c33e1c5ad6640d774be2 Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Mon, 22 Mar 2004 14:58:56 +0000 Subject: [PATCH] fixed wrong rendering of clipped characters svn path=/trunk/; revision=8835 --- reactos/subsys/win32k/eng/bitblt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/subsys/win32k/eng/bitblt.c b/reactos/subsys/win32k/eng/bitblt.c index edd4835eec4..532974773d8 100644 --- a/reactos/subsys/win32k/eng/bitblt.c +++ b/reactos/subsys/win32k/eng/bitblt.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * 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 * PROJECT: ReactOS kernel @@ -892,7 +892,7 @@ AlphaBltMask(SURFOBJ* Dest, g = (int)GetGValue(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++) { lMask = tMask;