[Bug 49174] Duplicate checking iter->parent in mshtml/htmlwindow.c

WineHQ Bugzilla wine-bugs at winehq.org
Sun May 17 17:56:22 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=49174

--- Comment #2 from Michael McGuire <spoon0042 at hotmail.com> ---
Or even:

void get_top_window(HTMLOuterWindow *window, HTMLOuterWindow **ret)
{
    HTMLOuterWindow *iter = window;

    if (iter)
        while (iter->parent)
            iter = iter->parent;

    *ret = iter;
}



I may be bored.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list