Fixed one more bug in clip_children.
This commit is contained in:
parent
887c035be1
commit
0cbfb24f83
@ -78,7 +78,7 @@ static void clip_children( WND *win, WND *last, HRGN hrgn, int whole_window )
|
|||||||
else x = y = 0;
|
else x = y = 0;
|
||||||
|
|
||||||
rectRgn = CreateRectRgn( 0, 0, 0, 0 );
|
rectRgn = CreateRectRgn( 0, 0, 0, 0 );
|
||||||
while (ptr != last)
|
while (ptr && ptr != last)
|
||||||
{
|
{
|
||||||
if (ptr->dwStyle & WS_VISIBLE)
|
if (ptr->dwStyle & WS_VISIBLE)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user