Commit d202e4a3 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Remove duplicate check in get_top_window.

parent 74ee5a21
......@@ -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;
}
......
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