mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-21 22:04:10 +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)) {
|
} else if (_ILGetDataPointer (pidl)) {
|
||||||
DWORD file_attr = _ILGetFileAttributes (pidl, NULL, 0);
|
DWORD file_attr = _ILGetFileAttributes (pidl, NULL, 0);
|
||||||
|
|
||||||
if (!file_attr && has_guid) {
|
if (!file_attr) {
|
||||||
WCHAR path[MAX_PATH];
|
WCHAR path[MAX_PATH];
|
||||||
STRRET strret;
|
STRRET strret;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue