Commit 3dbce69f authored by Torge Matthies's avatar Torge Matthies Committed by Alexandre Julliard

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

parent 681d2dfd
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment