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

winemenubuilder: Use the ARRAY_SIZE() macro.

parent d4f1d510
......@@ -1807,7 +1807,7 @@ static BOOL GetLinkLocation( LPCWSTR linkfile, DWORD *loc, char **relative )
WINE_TRACE("%s\n", wine_dbgstr_w(filename));
for( i=0; i<sizeof(locations)/sizeof(locations[0]); i++ )
for( i=0; i<ARRAY_SIZE( locations ); i++ )
{
if (!SHGetSpecialFolderPathW( 0, buffer, locations[i], FALSE ))
continue;
......
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