gdiplus/tests: Use the ARRAY_SIZE() macro.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2020-09-21 22:52:29 +02:00 committed by Alexandre Julliard
parent fae839e49a
commit 4e9ad7b305
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ static void test_logfont(void)
memset(&lfa, 0, sizeof(lfa));
lstrcpyA(lfa.lfFaceName, "Times New Roman");
for (i = 0; i < sizeof(test_sizes)/sizeof(test_sizes[0]); ++i)
for (i = 0; i < ARRAY_SIZE(test_sizes); ++i)
{
lfa.lfHeight = test_sizes[i].input;