user32: Fix list_window_parents when run in the desktop process.
This commit is contained in:
parent
85241fbe5b
commit
cf4c2e0b54
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue