if (BrushObj)
{
if (BrushObj->logbrush.lbStyle != BS_NULL)
- {
+ {
DestRect.left = LeftRect + 1;
DestRect.right = RightRect - 1;
DestRect.top = TopRect + 1;
DestRect.bottom = BottomRect - 1;
- ret = EngBitBlt(SurfObj,
+ ret = EngBitBlt(SurfObj,
NULL,
NULL,
NULL,
PATCOPY);
}
}
- GDIOBJ_UnlockObj( dc->w.hBrush, GO_PEN_MAGIC );
+ GDIOBJ_UnlockObj( dc->w.hBrush, GO_BRUSH_MAGIC );
}
// FIXME: Move current position in DC?