Commit 8fd1bd96 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

comctl32/tests: Mark smaller propsheet buffer as broken.

Fixes another testbot failure. Signed-off-by: 's avatarAlex Henrie <alexhenrie24@gmail.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 04097b4f
......@@ -92,8 +92,11 @@ static int CALLBACK sheet_callback(HWND hwnd, UINT msg, LPARAM lparam)
size = SizeofResource(module, hrsrc);
ok(size != 0, "Failed to get size of propsheet dialog resource\n");
buffer_size = HeapSize(GetProcessHeap(), 0, (void *)lparam);
/* Hebrew Windows 10 allocates 2 * size + 8, all others allocate 2 * size */
ok(buffer_size >= 2 * size, "Unexpected template buffer size %u, resource size %u\n",
/* Hebrew Windows 10 allocates 2 * size + 8,
* Arabic Windows 10 allocates 2 * size - 32,
* all others allocate exactly 2 * size */
ok(buffer_size >= 2 * size || broken(buffer_size == 2 * size - 32),
"Unexpected template buffer size %u, resource size %u\n",
buffer_size, size);
break;
}
......
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