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:
Jacek Caban 2022-01-05 00:15:55 +01:00 committed by Alexandre Julliard
parent 74ee5a2156
commit d202e4a386
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}