André Hentschel <n...@dawncrow.de> writes:

> @@ -85,6 +85,9 @@ static BOOL run_winemenubuilder( const WCHAR *args )
>      GetSystemDirectoryW( app, MAX_PATH - sizeof(menubuilder)/sizeof(WCHAR) );
>      strcatW( app, menubuilder );
>  
> +    if( GetFileAttributesW(app) == INVALID_FILE_ATTRIBUTES)
> +        return FALSE;

Checking for file existence doesn't make much sense for builtins.

-- 
Alexandre Julliard
julli...@winehq.org


Reply via email to