mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-16 05:26:43 +00:00
shell32: Mask out the CSIDL_ flags.
This commit is contained in:
parent
c6b6082d16
commit
a0126ec1ca
|
@ -2417,7 +2417,7 @@ HRESULT WINAPI SHGetFolderLocation(
|
|||
|
||||
/* The virtual folders' locations are not user-dependent */
|
||||
*ppidl = NULL;
|
||||
switch (nFolder)
|
||||
switch (nFolder & CSIDL_FOLDER_MASK)
|
||||
{
|
||||
case CSIDL_DESKTOP:
|
||||
*ppidl = _ILCreateDesktop();
|
||||
|
|
Loading…
Reference in a new issue