ddraw/tests: Use proper type for return values (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
490b4eec4b
commit
8cd2d5df20
|
@ -567,13 +567,13 @@ static void setdisplaymode(int i)
|
||||||
scrn.right, scrn.bottom, virt.left, virt.top, virt.right, virt.bottom);
|
scrn.right, scrn.bottom, virt.left, virt.top, virt.right, virt.bottom);
|
||||||
if (!EqualRect(&scrn, &orig_rect))
|
if (!EqualRect(&scrn, &orig_rect))
|
||||||
{
|
{
|
||||||
HRESULT rect_result;
|
BOOL rect_result, ret;
|
||||||
|
|
||||||
/* Check that the client rect was resized */
|
/* Check that the client rect was resized */
|
||||||
rc = GetClientRect(hwnd, &test);
|
ret = GetClientRect(hwnd, &test);
|
||||||
ok(rc!=0, "GetClientRect returned %x\n", rc);
|
ok(ret, "GetClientRect returned %d\n", ret);
|
||||||
rc = EqualRect(&scrn, &test);
|
ret = EqualRect(&scrn, &test);
|
||||||
todo_wine ok(rc!=0, "Fullscreen window has wrong size\n");
|
todo_wine ok(ret, "Fullscreen window has wrong size\n");
|
||||||
|
|
||||||
/* Check that switching to normal cooperative level
|
/* Check that switching to normal cooperative level
|
||||||
does not restore the display mode */
|
does not restore the display mode */
|
||||||
|
|
Loading…
Reference in New Issue