mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
[USER32] Add missing lprc check in SetRect().
svn path=/trunk/; revision=71962
This commit is contained in:
parent
a6161c8c11
commit
098b000c86
1 changed files with 5 additions and 1 deletions
|
@ -159,11 +159,15 @@ SetRect(LPRECT lprc,
|
||||||
int xRight,
|
int xRight,
|
||||||
int yBottom)
|
int yBottom)
|
||||||
{
|
{
|
||||||
|
if (!lprc)
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
lprc->left = xLeft;
|
lprc->left = xLeft;
|
||||||
lprc->top = yTop;
|
lprc->top = yTop;
|
||||||
lprc->right = xRight;
|
lprc->right = xRight;
|
||||||
lprc->bottom = yBottom;
|
lprc->bottom = yBottom;
|
||||||
return(TRUE);
|
|
||||||
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue