Fixed one more bug in clip_children.

This commit is contained in:
Alexandre Julliard 2001-06-19 03:47:11 +00:00
parent 887c035be1
commit 0cbfb24f83
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ static void clip_children( WND *win, WND *last, HRGN hrgn, int whole_window )
else x = y = 0;
rectRgn = CreateRectRgn( 0, 0, 0, 0 );
while (ptr != last)
while (ptr && ptr != last)
{
if (ptr->dwStyle & WS_VISIBLE)
{