shdocvw: Do not annoy user when he disabled winemenubuilder

Alexandre Julliard julliard at winehq.org
Tue Nov 30 04:18:53 CST 2010


André Hentschel <nerv at 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
julliard at winehq.org



More information about the wine-devel mailing list