Updated ntdll-Hide_Wine_Exports patchset

This commit is contained in:
Alistair Leslie-Hughes 2020-04-01 17:12:35 +11:00
parent db80e169c7
commit 001ea51fb5

View File

@ -80,11 +80,11 @@ index 6ba7b15c09e..b90e1516614 100644
+ const WCHAR *p;
+ WCHAR appversion[MAX_PATH+20];
+
+ if ((p = strrchrW( appname, '/' ))) appname = p + 1;
+ if ((p = strrchrW( appname, '\\' ))) appname = p + 1;
+ if ((p = wcsrchr( appname, '/' ))) appname = p + 1;
+ if ((p = wcsrchr( appname, '\\' ))) appname = p + 1;
+
+ strcpyW( appversion, appdefaultsW );
+ strcatW( appversion, appname );
+ wcscpy( appversion, appdefaultsW );
+ wcscat( appversion, appname );
+ RtlInitUnicodeString( &nameW, appversion );
+ attr.RootDirectory = config_key;
+