[PATCH] comctl32/tests: Permit larger propsheet buffers
Alex Henrie
alexhenrie24 at gmail.com
Sun Dec 12 20:04:10 CST 2021
Fixes a testbot failure on Windows 10 Hebrew.
Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
dlls/comctl32/tests/propsheet.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/comctl32/tests/propsheet.c b/dlls/comctl32/tests/propsheet.c
index 6cc29a8b6f1..b4696112500 100644
--- a/dlls/comctl32/tests/propsheet.c
+++ b/dlls/comctl32/tests/propsheet.c
@@ -92,7 +92,8 @@ 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);
- ok(buffer_size == 2 * size, "Unexpected template buffer size %u, resource size %u\n",
+ /* 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",
buffer_size, size);
break;
}
--
2.34.1
More information about the wine-devel
mailing list