mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 22:28:30 +00:00
riched20/tests: Use ARRAY_SIZE instead of open coding it.
This commit is contained in:
parent
f5c573b199
commit
90b6288f54
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue