X-Git-Url: http://git.jankratochvil.net/?p=reactos.git;a=blobdiff_plain;f=subsys%2Fwin32k%2Fobjects%2Ffillshap.c;fp=subsys%2Fwin32k%2Fobjects%2Ffillshap.c;h=a5e424eadec1ee5949fdf14cf364ab176ba258f7;hp=0e06ee26445bbbbe4f7e64d76d1fecda44a1941d;hb=e3ed2d773259cc445c7ff8181ebd934931365328;hpb=d378c68f5a9bb25c9e671dacd482d2e25d211df3 diff --git a/subsys/win32k/objects/fillshap.c b/subsys/win32k/objects/fillshap.c index 0e06ee2..a5e424e 100644 --- a/subsys/win32k/objects/fillshap.c +++ b/subsys/win32k/objects/fillshap.c @@ -140,12 +140,12 @@ W32kRectangle(HDC hDC, 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, @@ -158,7 +158,7 @@ W32kRectangle(HDC hDC, PATCOPY); } } - GDIOBJ_UnlockObj( dc->w.hBrush, GO_PEN_MAGIC ); + GDIOBJ_UnlockObj( dc->w.hBrush, GO_BRUSH_MAGIC ); } // FIXME: Move current position in DC?