mirror of
https://github.com/reactos/reactos.git
synced 2026-06-02 01:11:03 +08:00
[SHELL32] Do not reopen the drive properties dialog on cancel (#4383)
CORE-18073
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user