Commit cf4c2e0b authored by Alexandre Julliard's avatar Alexandre Julliard

user32: Fix list_window_parents when run in the desktop process.

parent 85241fbe
......@@ -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 */
......
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