mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
Fixed some warnings
svn path=/trunk/; revision=1302
This commit is contained in:
@@ -78,7 +78,7 @@ BOOL EngBitBlt(SURFOBJ *Dest, SURFOBJ *Source,
|
||||
// If we don't have to do anything special, we can punt to DrvCopyBits
|
||||
// if it exists
|
||||
if( (Mask == NULL) && (MaskRect == NULL) && (Brush == NULL) &&
|
||||
(BrushOrigin == NULL) && (rop4 == NULL) )
|
||||
(BrushOrigin == NULL) && (rop4 == 0) )
|
||||
{
|
||||
canCopyBits = TRUE;
|
||||
} else
|
||||
|
||||
@@ -13,7 +13,8 @@
|
||||
PVOID BRUSHOBJ_pvAllocRbrush(IN PBRUSHOBJ BrushObj,
|
||||
IN ULONG ObjSize)
|
||||
{
|
||||
BrushObj->pvRbrush=EngAllocMem(NULL, ObjSize, 0);
|
||||
BrushObj->pvRbrush=EngAllocMem(0, ObjSize, 0);
|
||||
return BrushObj->pvRbrush;
|
||||
}
|
||||
|
||||
PVOID BRUSHOBJ_pvGetRbrush(IN PBRUSHOBJ BrushObj)
|
||||
|
||||
@@ -19,3 +19,5 @@ typedef struct _GDI_HANDLE {
|
||||
|
||||
GDI_HANDLE GDIHandles[MAX_GDI_HANDLES];
|
||||
ULONG HandleCounter = 1;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user