mirror of
https://github.com/reactos/reactos.git
synced 2025-05-03 21:00:15 +00:00
[SHELL32] Do not reopen the drive properties dialog on cancel (#4383)
CORE-18073
This commit is contained in:
parent
248fe4714a
commit
af33607a27
1 changed files with 1 additions and 3 deletions
|
@ -226,10 +226,8 @@ SH_ShowDriveProperties(WCHAR *pwszDrive, LPCITEMIDLIST pidlFolder, PCUITEMID_CHI
|
|||
if (pDrvDefExt)
|
||||
pDrvDefExt->Release();
|
||||
|
||||
if (ret > 0)
|
||||
if (ret >= 0)
|
||||
return S_OK;
|
||||
if (ret == 0)
|
||||
return S_FALSE;
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue