mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
- Fix for race condition that should never happen.
svn path=/trunk/; revision=8491
This commit is contained in:
parent
bc297296d2
commit
7bb59c906f
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*
|
||||
* $Id: vis.c,v 1.21 2004/02/26 22:23:54 weiden Exp $
|
||||
* $Id: vis.c,v 1.22 2004/02/29 17:43:41 navaraf Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -87,7 +87,7 @@ VIS_ComputeVisibleRegion(
|
|||
{
|
||||
IntLockRelatives(CurrentWindow);
|
||||
CurrentSibling = CurrentWindow->FirstChild;
|
||||
while (CurrentSibling != PreviousWindow)
|
||||
while (CurrentSibling != NULL && CurrentSibling != PreviousWindow)
|
||||
{
|
||||
if (CurrentSibling->Style & WS_VISIBLE)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue