Commit 4e9ad7b3 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

gdiplus/tests: Use the ARRAY_SIZE() macro.

parent fae839e4
......@@ -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;
......
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