mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
[win32k]
- Simplify GdiExtSelectClipRgn slightly - Add missing line break svn path=/trunk/; revision=44654
This commit is contained in:
parent
077c75ad65
commit
3fc3ac5c8c
2 changed files with 4 additions and 7 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue