Signed-off-by: Michael Stefaniuc mstefani@winehq.org --- programs/winemenubuilder/winemenubuilder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/winemenubuilder/winemenubuilder.c b/programs/winemenubuilder/winemenubuilder.c index 0013b04cee..a81a5c7638 100644 --- a/programs/winemenubuilder/winemenubuilder.c +++ b/programs/winemenubuilder/winemenubuilder.c @@ -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;