Nikolay Sivov <nsi...@codeweavers.com> writes:

> @@ -2101,9 +2102,17 @@ TREEVIEW_GetItemT(const TREEVIEW_INFO *infoPtr, 
> LPTVITEMEXW tvItem, BOOL isW)
>      {
>          if (!item) return FALSE;
>  
> -        TRACE("got item from different tree %p, called from %p\n", 
> item->infoPtr, infoPtr);
> -        infoPtr = item->infoPtr;
> -        if (!TREEVIEW_ValidItem(infoPtr, item)) return FALSE;
> +        __TRY
> +        {
> +            infoPtr = item->infoPtr;
> +            TRACE("got item from different tree %p, called from %p\n", 
> item->infoPtr, infoPtr);
> +            if (!TREEVIEW_ValidItem(infoPtr, item)) return FALSE;

You can't return from a try block.

Also have you verified that this is not just masking some other Wine
bug?

-- 
Alexandre Julliard
julli...@winehq.org


Reply via email to