[USER32] Add missing lprc check in SetRect().

svn path=/trunk/; revision=71962
This commit is contained in:
Amine Khaldi 2016-07-18 15:46:38 +00:00
parent a6161c8c11
commit 098b000c86

View file

@ -159,11 +159,15 @@ SetRect(LPRECT lprc,
int xRight,
int yBottom)
{
if (!lprc)
return FALSE;
lprc->left = xLeft;
lprc->top = yTop;
lprc->right = xRight;
lprc->bottom = yBottom;
return(TRUE);
return TRUE;
}