[PATCH v3 0/3] MR247: uiautomationcore: Add basic IAccessible2 support.

Huw Davies (@huw) wine at gitlab.winehq.org
Wed Jun 15 13:17:15 CDT 2022


Huw Davies (@huw) commented about dlls/uiautomationcore/uia_provider.c:
>          goto exit;
>      }
>  
> +    ia2[0] = msaa_acc_get_ia2(acc);
> +    ia2[1] = msaa_acc_get_ia2(acc2);
> +    if ((ia2[0] || ia2[1]) && !(ia2[0] && ia2[1]))
> +        goto exit;
Sort of like earlier.

How about:
```c
if (!ia2[0] != !ia2[1])
    goto exit;
```

-- 
https://gitlab.winehq.org/wine/wine/-/merge_requests/247#note_2131



More information about the wine-devel mailing list