mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[win32k]
- Simplify GdiExtSelectClipRgn slightly - Add missing line break svn path=/trunk/; revision=44654
This commit is contained in:
@@ -729,7 +729,7 @@ NtUserSetScrollBarInfo(
|
||||
if(!SBID_IS_VALID(Obj))
|
||||
{
|
||||
SetLastWin32Error(ERROR_INVALID_PARAMETER);
|
||||
DPRINT1("Trying to set scrollinfo for unknown scrollbar type %d", Obj);
|
||||
DPRINT1("Trying to set scrollinfo for unknown scrollbar type %d\n", Obj);
|
||||
RETURN( FALSE);
|
||||
}
|
||||
|
||||
|
||||
@@ -96,10 +96,9 @@ GdiSelectVisRgn(HDC hdc, HRGN hrgn)
|
||||
|
||||
|
||||
int FASTCALL GdiExtSelectClipRgn(PDC dc,
|
||||
HRGN hrgn,
|
||||
int fnMode)
|
||||
HRGN hrgn,
|
||||
int fnMode)
|
||||
{
|
||||
int retval;
|
||||
// dc->fs &= ~DC_FLAG_DIRTY_RAO;
|
||||
|
||||
if (!hrgn)
|
||||
@@ -110,7 +109,6 @@ int FASTCALL GdiExtSelectClipRgn(PDC dc,
|
||||
{
|
||||
GreDeleteObject(dc->rosdc.hClipRgn);
|
||||
dc->rosdc.hClipRgn = NULL;
|
||||
retval = NULLREGION;
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -144,8 +142,7 @@ int FASTCALL GdiExtSelectClipRgn(PDC dc,
|
||||
NtGdiCombineRgn(dc->rosdc.hClipRgn, dc->rosdc.hClipRgn, hrgn, fnMode);
|
||||
}
|
||||
|
||||
retval = CLIPPING_UpdateGCRegion(dc);
|
||||
return retval;
|
||||
return CLIPPING_UpdateGCRegion(dc);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user