mshtml: Remove duplicate check in get_top_window.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49174 Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
74ee5a2156
commit
d202e4a386
|
@ -85,7 +85,7 @@ void get_top_window(HTMLOuterWindow *window, HTMLOuterWindow **ret)
|
|||
{
|
||||
HTMLOuterWindow *iter;
|
||||
|
||||
for(iter = window; iter->parent && iter->parent; iter = iter->parent);
|
||||
for(iter = window; iter->parent; iter = iter->parent);
|
||||
*ret = iter;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue