mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +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 yBottom)
|
||||
{
|
||||
if (!lprc)
|
||||
return FALSE;
|
||||
|
||||
lprc->left = xLeft;
|
||||
lprc->top = yTop;
|
||||
lprc->right = xRight;
|
||||
lprc->bottom = yBottom;
|
||||
return(TRUE);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue