user32: Fix list_window_parents when run in the desktop process.

This commit is contained in:
Alexandre Julliard 2008-04-07 20:34:24 +02:00
parent 85241fbe5b
commit cf4c2e0b54
1 changed files with 1 additions and 0 deletions

View File

@ -274,6 +274,7 @@ static HWND *list_window_parents( HWND hwnd )
}
list[pos] = current = win->parent;
WIN_ReleasePtr( win );
if (!current) return list;
if (++pos == size - 1)
{
/* need to grow the list */