Commit ecd16fed authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

riched20/tests: Use the available ARRAY_SIZE() macro.

parent ebfe62fc
...@@ -247,8 +247,8 @@ static void test_ITextDocument_Open(void) ...@@ -247,8 +247,8 @@ static void test_ITextDocument_Open(void)
tomReadOnly|tomShareDenyWrite, tomReadOnly|tomShareDenyRead tomReadOnly|tomShareDenyWrite, tomReadOnly|tomShareDenyRead
}; };
int tomNumSingle = sizeof(tomConstantsSingle)/sizeof(tomConstantsSingle[0]); int tomNumSingle = ARRAY_SIZE(tomConstantsSingle);
int tomNumMulti = sizeof(tomConstantsMulti)/sizeof(tomConstantsMulti[0]); int tomNumMulti = ARRAY_SIZE(tomConstantsMulti);
int i; int i;
V_VT(&testfile) = VT_BSTR; V_VT(&testfile) = VT_BSTR;
......
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