[Bug 18985] access violation in HTML-Kit 292

WineHQ Bugzilla wine-bugs at winehq.org
Sat Nov 16 10:09:02 CST 2019


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

Damjan Jovanovic <damjan.jov at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |damjan.jov at gmail.com

--- Comment #26 from Damjan Jovanovic <damjan.jov at gmail.com> ---
With WINEDEBUG='+listview' we see this line just before the messagebox:

003a:trace:listview:LISTVIEW_GetNextItem nItem=-1, uFlags=1, nItemCount=1

uFlags=1 means:
#define LVNI_FOCUSED            0x0001

which means the code will take this optimized path in that function:

    /* if we're asked for the focused item, that's only one,
     * so it's worth optimizing */
    if (uFlags & LVNI_FOCUSED)
    {
        if ((LISTVIEW_GetItemState(infoPtr, infoPtr->nFocusedItem, uMask) &
uMask) != uMask) return -1;
        return (infoPtr->nFocusedItem == nItem) ? -1 : infoPtr->nFocusedItem;
    }

What is returned, and from which return statement?

-- 
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