mirror of
https://github.com/wine-mirror/wine
synced 2024-07-08 20:06:18 +00:00
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:
parent
681d2dfd9d
commit
3dbce69fd4
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user