kernel32/tests: Fix ReadConsoleOutputW tests on Windows 8.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2020-08-12 15:08:35 +02:00 committed by Alexandre Julliard
parent 63cbf7fb57
commit dc80851425
1 changed files with 2 additions and 2 deletions

View File

@ -2860,8 +2860,8 @@ static void test_ReadConsoleOutput(HANDLE console)
coord.Y = 3;
set_region(&region, 200, 7, 15, 211);
ret = ReadConsoleOutputW(console, char_info_buf, size, coord, &region);
ok(!ret && GetLastError() == ERROR_NOT_ENOUGH_MEMORY, "ReadConsoleOutputW returned: %x(%u)\n", ret, GetLastError());
check_region(&region, 200, 7, 15, 211);
ok(!ret, "ReadConsoleOutputW returned: %x(%u)\n", ret, GetLastError());
check_region(&region, 200, 7, -15, -211);
size.X = 23;
size.Y = 17;