[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: shdocvw: Do not annoy user when he disabled winemenubuilder
From: Alexandre Julliard <julliard () winehq ! org>
Date: 2010-11-30 10:18:53
Message-ID: 8739qj9ks2.fsf () wine ! dyndns ! org
[Download RAW message or body]
André Hentschel <nerv@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@winehq.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic