[PATCH 3/3] shell32: Fix return value of GetDetailsOf() for unixfs folder
Nikolay Sivov
nsivov at codeweavers.com
Wed Jan 25 13:51:32 CST 2017
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/shell32/shfldr_unixfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/shell32/shfldr_unixfs.c b/dlls/shell32/shfldr_unixfs.c
index 9df761fcbc..3feef74720 100644
--- a/dlls/shell32/shfldr_unixfs.c
+++ b/dlls/shell32/shfldr_unixfs.c
@@ -1475,10 +1475,10 @@ static HRESULT WINAPI ShellFolder2_GetDetailsOf(IShellFolder2* iface,
LPCITEMIDLIST pidl, UINT iColumn, SHELLDETAILS *psd)
{
UnixFolder *This = impl_from_IShellFolder2(iface);
- HRESULT hr = E_FAIL;
struct passwd *pPasswd;
struct group *pGroup;
struct stat statItem;
+ HRESULT hr = S_OK;
static const shvheader unixfs_header[SHELLVIEWCOLUMNS] = {
{IDS_SHV_COLUMN1, SHCOLSTATE_TYPE_STR | SHCOLSTATE_ONBYDEFAULT, LVCFMT_RIGHT, 15},
--
2.11.0
More information about the wine-patches
mailing list