ddraw/tests: Fix some comma versus semi-colon mixups.

This commit is contained in:
Francois Gouget 2014-02-26 19:53:48 +01:00 committed by Alexandre Julliard
parent 7f9756e1ea
commit 4f26fb0e0b
4 changed files with 9 additions and 9 deletions

View File

@ -3692,7 +3692,7 @@ static void test_surface_lock(void)
for (i = 0; i < sizeof(tests) / sizeof(*tests); i++)
{
memset(&ddsd, 0, sizeof(ddsd)),
memset(&ddsd, 0, sizeof(ddsd));
ddsd.dwSize = sizeof(ddsd);
ddsd.dwFlags = DDSD_CAPS;
if (!(tests[i].caps & DDSCAPS_PRIMARYSURFACE))
@ -3711,7 +3711,7 @@ static void test_surface_lock(void)
hr = IDirectDraw_CreateSurface(ddraw, &ddsd, &surface, NULL);
ok(SUCCEEDED(hr), "Failed to create surface, type %s, hr %#x.\n", tests[i].name, hr);
memset(&ddsd, 0, sizeof(ddsd)),
memset(&ddsd, 0, sizeof(ddsd));
ddsd.dwSize = sizeof(ddsd);
hr = IDirectDrawSurface_Lock(surface, NULL, &ddsd, DDLOCK_WAIT, NULL);
ok(SUCCEEDED(hr), "Failed to lock surface, type %s, hr %#x.\n", tests[i].name, hr);

View File

@ -4374,7 +4374,7 @@ static void test_surface_lock(void)
for (i = 0; i < sizeof(tests) / sizeof(*tests); i++)
{
memset(&ddsd, 0, sizeof(ddsd)),
memset(&ddsd, 0, sizeof(ddsd));
ddsd.dwSize = sizeof(ddsd);
ddsd.dwFlags = DDSD_CAPS;
if (!(tests[i].caps & DDSCAPS_PRIMARYSURFACE))
@ -4393,7 +4393,7 @@ static void test_surface_lock(void)
hr = IDirectDraw2_CreateSurface(ddraw, &ddsd, &surface, NULL);
ok(SUCCEEDED(hr), "Failed to create surface, type %s, hr %#x.\n", tests[i].name, hr);
memset(&ddsd, 0, sizeof(ddsd)),
memset(&ddsd, 0, sizeof(ddsd));
ddsd.dwSize = sizeof(ddsd);
hr = IDirectDrawSurface_Lock(surface, NULL, &ddsd, DDLOCK_WAIT, NULL);
ok(SUCCEEDED(hr), "Failed to lock surface, type %s, hr %#x.\n", tests[i].name, hr);

View File

@ -4972,7 +4972,7 @@ static void test_surface_lock(void)
for (i = 0; i < sizeof(tests) / sizeof(*tests); i++)
{
memset(&ddsd, 0, sizeof(ddsd)),
memset(&ddsd, 0, sizeof(ddsd));
ddsd.dwSize = sizeof(ddsd);
ddsd.dwFlags = DDSD_CAPS;
if (!(tests[i].caps & DDSCAPS_PRIMARYSURFACE))
@ -4992,7 +4992,7 @@ static void test_surface_lock(void)
hr = IDirectDraw4_CreateSurface(ddraw, &ddsd, &surface, NULL);
ok(SUCCEEDED(hr), "Failed to create surface, type %s, hr %#x.\n", tests[i].name, hr);
memset(&ddsd, 0, sizeof(ddsd)),
memset(&ddsd, 0, sizeof(ddsd));
ddsd.dwSize = sizeof(ddsd);
hr = IDirectDrawSurface4_Lock(surface, NULL, &ddsd, DDLOCK_WAIT, NULL);
ok(SUCCEEDED(hr), "Failed to lock surface, type %s, hr %#x.\n", tests[i].name, hr);

View File

@ -4827,7 +4827,7 @@ static void test_surface_lock(void)
goto done;
}
memset(&ddsd, 0, sizeof(ddsd)),
memset(&ddsd, 0, sizeof(ddsd));
ddsd.dwSize = sizeof(ddsd);
ddsd.dwFlags = DDSD_CAPS | DDSD_WIDTH | DDSD_HEIGHT;
ddsd.dwWidth = 64;
@ -4850,7 +4850,7 @@ static void test_surface_lock(void)
if (!cubemap_supported && tests[i].caps2 & DDSCAPS2_CUBEMAP)
continue;
memset(&ddsd, 0, sizeof(ddsd)),
memset(&ddsd, 0, sizeof(ddsd));
ddsd.dwSize = sizeof(ddsd);
ddsd.dwFlags = DDSD_CAPS;
if (!(tests[i].caps & DDSCAPS_PRIMARYSURFACE))
@ -4870,7 +4870,7 @@ static void test_surface_lock(void)
hr = IDirectDraw7_CreateSurface(ddraw, &ddsd, &surface, NULL);
ok(SUCCEEDED(hr), "Failed to create surface, type %s, hr %#x.\n", tests[i].name, hr);
memset(&ddsd, 0, sizeof(ddsd)),
memset(&ddsd, 0, sizeof(ddsd));
ddsd.dwSize = sizeof(ddsd);
hr = IDirectDrawSurface7_Lock(surface, NULL, &ddsd, DDLOCK_WAIT, NULL);
ok(SUCCEEDED(hr), "Failed to lock surface, type %s, hr %#x.\n", tests[i].name, hr);