Re: shdocvw: Do not annoy user when he disabled winemenubuilder
30 Nov
2010
30 Nov
'10
10:18 a.m.
André Hentschel <nerv(a)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(a)winehq.org
5490
Age (days ago)
5490
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard