Commit 0cbfb24f authored by Alexandre Julliard's avatar Alexandre Julliard

Fixed one more bug in clip_children.

parent 887c035b
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment