mirror of
https://github.com/reactos/reactos.git
synced 2024-11-24 03:53:31 +08:00
[BROWSEUI] Fix indentation
Fixes GCC 8 warning: dll/win32/browseui/explorerband.cpp:1332:17: error: this 'if' clause does not guard... [-Werror=misleading-indentation] if (!SUCCEEDED(hr) || !pParent.p) ^~ dll/win32/browseui/explorerband.cpp:1335:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' hr = pParent->SetNameOf(0, pidlChild, dispInfo->item.pszText, SHGDN_INFOLDER, &pidlNew); ^~
This commit is contained in:
parent
95269bc8d1
commit
801ec51a91
@ -1329,8 +1329,8 @@ HRESULT STDMETHODCALLTYPE CExplorerBand::OnWinEvent(HWND hWnd, UINT uMsg, WPARAM
|
||||
LPCITEMIDLIST pidlChild;
|
||||
|
||||
hr = SHBindToParent(info->absolutePidl, IID_PPV_ARG(IShellFolder, &pParent), &pidlChild);
|
||||
if (!SUCCEEDED(hr) || !pParent.p)
|
||||
return E_FAIL;
|
||||
if (!SUCCEEDED(hr) || !pParent.p)
|
||||
return E_FAIL;
|
||||
|
||||
hr = pParent->SetNameOf(0, pidlChild, dispInfo->item.pszText, SHGDN_INFOLDER, &pidlNew);
|
||||
if(SUCCEEDED(hr) && pidlNew)
|
||||
|
Loading…
Reference in New Issue
Block a user