mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-09-13 09:17:20 -07:00
shell32-Default_Path: Fix whitespace errors.
This commit is contained in:
parent
fe0aa3f54d
commit
dad496036d
@ -19,7 +19,7 @@ index e361483..600e002 100644
|
||||
|
||||
- if (flags & ~(KF_FLAG_CREATE|KF_FLAG_DONT_VERIFY|KF_FLAG_NO_ALIAS|KF_FLAG_INIT))
|
||||
+ if (flags & ~(KF_FLAG_CREATE|KF_FLAG_DONT_VERIFY|KF_FLAG_NO_ALIAS|
|
||||
+ KF_FLAG_INIT|KF_FLAG_DEFAULT_PATH))
|
||||
+ KF_FLAG_INIT|KF_FLAG_DEFAULT_PATH))
|
||||
{
|
||||
FIXME("flags 0x%08x not supported\n", flags);
|
||||
return E_INVALIDARG;
|
||||
@ -27,7 +27,7 @@ index e361483..600e002 100644
|
||||
|
||||
- hr = SHGetFolderPathW( NULL, index, token, 0, folder );
|
||||
+ hr = SHGetFolderPathW( NULL, index, token, (flags & KF_FLAG_DEFAULT_PATH) ?
|
||||
+ SHGFP_TYPE_DEFAULT : SHGFP_TYPE_CURRENT, folder );
|
||||
+ SHGFP_TYPE_DEFAULT : SHGFP_TYPE_CURRENT, folder );
|
||||
if (SUCCEEDED(hr))
|
||||
{
|
||||
*path = CoTaskMemAlloc( (strlenW( folder ) + 1) * sizeof(WCHAR) );
|
||||
|
Loading…
Reference in New Issue
Block a user