mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 20:03:07 +00:00
little fix
svn path=/trunk/; revision=9001
This commit is contained in:
parent
9b45df9243
commit
45a89e2e7c
1 changed files with 2 additions and 2 deletions
|
@ -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: dib4bpp.c,v 1.26 2004/04/07 10:19:34 weiden Exp $ */
|
||||
/* $Id: dib4bpp.c,v 1.27 2004/04/07 10:20:23 weiden Exp $ */
|
||||
#undef WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -395,7 +395,7 @@ DIB_4BPP_BitBlt(SURFOBJ *DestSurf, SURFOBJ *SourceSurf,
|
|||
}
|
||||
if (UsesPattern && (Brush->iSolidColor == 0xFFFFFFFF))
|
||||
{
|
||||
Pattern = DIB_1BPP_GetPixel(PatternObj, i % PatternWidth, j % PatternHeight) ? GdiBrush->crFore : GdiBrush->crBack;
|
||||
Pattern = DIB_1BPP_GetPixel(PatternObj, i % PatternWidth, PatternY) ? GdiBrush->crFore : GdiBrush->crBack;
|
||||
}
|
||||
DIB_4BPP_PutPixel(DestSurf, i, j, DIB_DoRop(Rop4, Dest, Source, Pattern) & 0xF);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue