shell32: Fix getting file attributes from the file system in SHELL32_GetItemAttributes.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52017
Signed-off-by: Torge Matthies <openglfreak@googlemail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Torge Matthies 2021-11-11 00:18:22 +01:00 committed by Alexandre Julliard
parent 681d2dfd9d
commit 3dbce69fd4
1 changed files with 1 additions and 1 deletions

View File

@ -417,7 +417,7 @@ HRESULT SHELL32_GetItemAttributes (IShellFolder2 *psf, LPCITEMIDLIST pidl, LPDWO
} else if (_ILGetDataPointer (pidl)) {
DWORD file_attr = _ILGetFileAttributes (pidl, NULL, 0);
if (!file_attr && has_guid) {
if (!file_attr) {
WCHAR path[MAX_PATH];
STRRET strret;