Commit 430a46fd authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

kernel32: Skip the screen buffer tests if codepage 866 is not available.

parent b8ffcbc3
......@@ -600,6 +600,12 @@ static void testScreenBuffer(HANDLE hConOut)
BOOL ret;
DWORD oldcp;
if (!IsValidCodePage(866))
{
skip("Codepage 866 not available\n");
return;
}
/* In the beginning set output codepage to 866 */
oldcp = GetConsoleOutputCP();
ok(SetConsoleOutputCP(866), "Cannot set output codepage to 866\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment