[PATCH 1/2] user32/tests: Test an out-of-order RECT in RedrawWindow()

Zebediah Figura zfigura at codeweavers.com
Fri May 13 17:57:18 CDT 2022


On 5/12/22 07:51, Pedro Perdigão wrote:
> @@ -8186,7 +8187,10 @@ static void check_update_rgn_( int line, HWND hwnd, HRGN hrgn )
>       ok( ret != ERROR, "GetUpdateRgn failed\n" );
>       if (ret == NULLREGION)
>       {
> -        ok_(__FILE__,line)( !hrgn, "Update region shouldn't be empty\n" );
> +        if(todo)
> +            todo_wine ok_(__FILE__,line)( !hrgn, "Update region shouldn't be empty\n" );
> +        else
> +            ok_(__FILE__,line)( !hrgn, "Update region shouldn't be empty\n" );
>       }
>       else
>       {

This was already committed, but for future reference, there's a 
"todo_wine_if()" macro for this.



More information about the wine-devel mailing list