Commit 90b6288f authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

riched20/tests: Use ARRAY_SIZE instead of open coding it.

parent f5c573b1
......@@ -9030,7 +9030,7 @@ static void test_window_classes(void)
int i;
HWND hwnd;
for (i = 0; i < sizeof(test)/sizeof(test[0]); i++)
for (i = 0; i < ARRAY_SIZE(test); i++)
{
SetLastError(0xdeadbeef);
hwnd = CreateWindowExA(0, test[i].class, NULL, WS_POPUP, 0, 0, 0, 0, 0, 0, 0, NULL);
......
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