kernel32: Skip the screen buffer tests if codepage 866 is not available.
This commit is contained in:
parent
b8ffcbc35b
commit
430a46fdf7
|
@ -600,6 +600,12 @@ static void testScreenBuffer(HANDLE hConOut)
|
||||||
BOOL ret;
|
BOOL ret;
|
||||||
DWORD oldcp;
|
DWORD oldcp;
|
||||||
|
|
||||||
|
if (!IsValidCodePage(866))
|
||||||
|
{
|
||||||
|
skip("Codepage 866 not available\n");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
/* In the beginning set output codepage to 866 */
|
/* In the beginning set output codepage to 866 */
|
||||||
oldcp = GetConsoleOutputCP();
|
oldcp = GetConsoleOutputCP();
|
||||||
ok(SetConsoleOutputCP(866), "Cannot set output codepage to 866\n");
|
ok(SetConsoleOutputCP(866), "Cannot set output codepage to 866\n");
|
||||||
|
|
Loading…
Reference in New Issue