ddraw/tests: Spelling fixes in ok() messages.
Signed-off-by: Francois Gouget <fgouget@free.fr> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1bc90ab802
commit
ed75c597f9
|
@ -2745,7 +2745,7 @@ static void test_coop_level_mode_set(void)
|
||||||
ret = EnumDisplaySettingsW(NULL, ENUM_CURRENT_SETTINGS, &devmode);
|
ret = EnumDisplaySettingsW(NULL, ENUM_CURRENT_SETTINGS, &devmode);
|
||||||
ok(ret, "Failed to get display mode.\n");
|
ok(ret, "Failed to get display mode.\n");
|
||||||
ok(devmode.dmPelsWidth == registry_mode.dmPelsWidth
|
ok(devmode.dmPelsWidth == registry_mode.dmPelsWidth
|
||||||
&& devmode.dmPelsHeight == registry_mode.dmPelsHeight, "Got unexpect screen size %ux%u.\n",
|
&& devmode.dmPelsHeight == registry_mode.dmPelsHeight, "Got unexpected screen size %ux%u.\n",
|
||||||
devmode.dmPelsWidth, devmode.dmPelsHeight);
|
devmode.dmPelsWidth, devmode.dmPelsHeight);
|
||||||
|
|
||||||
expect_messages = exclusive_focus_restore_messages;
|
expect_messages = exclusive_focus_restore_messages;
|
||||||
|
@ -2758,7 +2758,7 @@ static void test_coop_level_mode_set(void)
|
||||||
ret = EnumDisplaySettingsW(NULL, ENUM_CURRENT_SETTINGS, &devmode);
|
ret = EnumDisplaySettingsW(NULL, ENUM_CURRENT_SETTINGS, &devmode);
|
||||||
ok(ret, "Failed to get display mode.\n");
|
ok(ret, "Failed to get display mode.\n");
|
||||||
ok(devmode.dmPelsWidth == param.ddraw_width
|
ok(devmode.dmPelsWidth == param.ddraw_width
|
||||||
&& devmode.dmPelsHeight == param.ddraw_height, "Got unexpect screen size %ux%u.\n",
|
&& devmode.dmPelsHeight == param.ddraw_height, "Got unexpected screen size %ux%u.\n",
|
||||||
devmode.dmPelsWidth, devmode.dmPelsHeight);
|
devmode.dmPelsWidth, devmode.dmPelsHeight);
|
||||||
|
|
||||||
hr = IDirectDraw_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN);
|
hr = IDirectDraw_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN);
|
||||||
|
|
|
@ -2856,7 +2856,7 @@ static void test_coop_level_mode_set(void)
|
||||||
ret = EnumDisplaySettingsW(NULL, ENUM_CURRENT_SETTINGS, &devmode);
|
ret = EnumDisplaySettingsW(NULL, ENUM_CURRENT_SETTINGS, &devmode);
|
||||||
ok(ret, "Failed to get display mode.\n");
|
ok(ret, "Failed to get display mode.\n");
|
||||||
ok(devmode.dmPelsWidth == registry_mode.dmPelsWidth
|
ok(devmode.dmPelsWidth == registry_mode.dmPelsWidth
|
||||||
&& devmode.dmPelsHeight == registry_mode.dmPelsHeight, "Got unexpect screen size %ux%u.\n",
|
&& devmode.dmPelsHeight == registry_mode.dmPelsHeight, "Got unexpected screen size %ux%u.\n",
|
||||||
devmode.dmPelsWidth, devmode.dmPelsHeight);
|
devmode.dmPelsWidth, devmode.dmPelsHeight);
|
||||||
|
|
||||||
expect_messages = exclusive_focus_restore_messages;
|
expect_messages = exclusive_focus_restore_messages;
|
||||||
|
@ -2869,7 +2869,7 @@ static void test_coop_level_mode_set(void)
|
||||||
ret = EnumDisplaySettingsW(NULL, ENUM_CURRENT_SETTINGS, &devmode);
|
ret = EnumDisplaySettingsW(NULL, ENUM_CURRENT_SETTINGS, &devmode);
|
||||||
ok(ret, "Failed to get display mode.\n");
|
ok(ret, "Failed to get display mode.\n");
|
||||||
ok(devmode.dmPelsWidth == param.ddraw_width
|
ok(devmode.dmPelsWidth == param.ddraw_width
|
||||||
&& devmode.dmPelsHeight == param.ddraw_height, "Got unexpect screen size %ux%u.\n",
|
&& devmode.dmPelsHeight == param.ddraw_height, "Got unexpected screen size %ux%u.\n",
|
||||||
devmode.dmPelsWidth, devmode.dmPelsHeight);
|
devmode.dmPelsWidth, devmode.dmPelsHeight);
|
||||||
|
|
||||||
hr = IDirectDraw2_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN);
|
hr = IDirectDraw2_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN);
|
||||||
|
|
|
@ -3010,7 +3010,7 @@ static void test_coop_level_mode_set(void)
|
||||||
ret = EnumDisplaySettingsW(NULL, ENUM_CURRENT_SETTINGS, &devmode);
|
ret = EnumDisplaySettingsW(NULL, ENUM_CURRENT_SETTINGS, &devmode);
|
||||||
ok(ret, "Failed to get display mode.\n");
|
ok(ret, "Failed to get display mode.\n");
|
||||||
ok(devmode.dmPelsWidth == registry_mode.dmPelsWidth
|
ok(devmode.dmPelsWidth == registry_mode.dmPelsWidth
|
||||||
&& devmode.dmPelsHeight == registry_mode.dmPelsHeight, "Got unexpect screen size %ux%u.\n",
|
&& devmode.dmPelsHeight == registry_mode.dmPelsHeight, "Got unexpected screen size %ux%u.\n",
|
||||||
devmode.dmPelsWidth, devmode.dmPelsHeight);
|
devmode.dmPelsWidth, devmode.dmPelsHeight);
|
||||||
|
|
||||||
expect_messages = exclusive_focus_restore_messages;
|
expect_messages = exclusive_focus_restore_messages;
|
||||||
|
@ -3023,7 +3023,7 @@ static void test_coop_level_mode_set(void)
|
||||||
ret = EnumDisplaySettingsW(NULL, ENUM_CURRENT_SETTINGS, &devmode);
|
ret = EnumDisplaySettingsW(NULL, ENUM_CURRENT_SETTINGS, &devmode);
|
||||||
ok(ret, "Failed to get display mode.\n");
|
ok(ret, "Failed to get display mode.\n");
|
||||||
ok(devmode.dmPelsWidth == param.ddraw_width
|
ok(devmode.dmPelsWidth == param.ddraw_width
|
||||||
&& devmode.dmPelsHeight == param.ddraw_height, "Got unexpect screen size %ux%u.\n",
|
&& devmode.dmPelsHeight == param.ddraw_height, "Got unexpected screen size %ux%u.\n",
|
||||||
devmode.dmPelsWidth, devmode.dmPelsHeight);
|
devmode.dmPelsWidth, devmode.dmPelsHeight);
|
||||||
|
|
||||||
hr = IDirectDraw4_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN);
|
hr = IDirectDraw4_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN);
|
||||||
|
|
|
@ -2684,7 +2684,7 @@ static void test_coop_level_mode_set(void)
|
||||||
ret = EnumDisplaySettingsW(NULL, ENUM_CURRENT_SETTINGS, &devmode);
|
ret = EnumDisplaySettingsW(NULL, ENUM_CURRENT_SETTINGS, &devmode);
|
||||||
ok(ret, "Failed to get display mode.\n");
|
ok(ret, "Failed to get display mode.\n");
|
||||||
ok(devmode.dmPelsWidth == registry_mode.dmPelsWidth
|
ok(devmode.dmPelsWidth == registry_mode.dmPelsWidth
|
||||||
&& devmode.dmPelsHeight == registry_mode.dmPelsHeight, "Got unexpect screen size %ux%u.\n",
|
&& devmode.dmPelsHeight == registry_mode.dmPelsHeight, "Got unexpected screen size %ux%u.\n",
|
||||||
devmode.dmPelsWidth, devmode.dmPelsHeight);
|
devmode.dmPelsWidth, devmode.dmPelsHeight);
|
||||||
|
|
||||||
expect_messages = exclusive_focus_restore_messages;
|
expect_messages = exclusive_focus_restore_messages;
|
||||||
|
@ -2697,7 +2697,7 @@ static void test_coop_level_mode_set(void)
|
||||||
ret = EnumDisplaySettingsW(NULL, ENUM_CURRENT_SETTINGS, &devmode);
|
ret = EnumDisplaySettingsW(NULL, ENUM_CURRENT_SETTINGS, &devmode);
|
||||||
ok(ret, "Failed to get display mode.\n");
|
ok(ret, "Failed to get display mode.\n");
|
||||||
ok(devmode.dmPelsWidth == param.ddraw_width
|
ok(devmode.dmPelsWidth == param.ddraw_width
|
||||||
&& devmode.dmPelsHeight == param.ddraw_height, "Got unexpect screen size %ux%u.\n",
|
&& devmode.dmPelsHeight == param.ddraw_height, "Got unexpected screen size %ux%u.\n",
|
||||||
devmode.dmPelsWidth, devmode.dmPelsHeight);
|
devmode.dmPelsWidth, devmode.dmPelsHeight);
|
||||||
|
|
||||||
hr = IDirectDraw7_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN);
|
hr = IDirectDraw7_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN);
|
||||||
|
|
Loading…
Reference in New Issue