mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[SHELL32] Drop slash when dismounting a remote drive. MPR and NP are expecting a drive letter.
This fixes dismounting a network drive using explorer.
This commit is contained in:
parent
764b2b6ef7
commit
45b543202d
1 changed files with 1 additions and 0 deletions
|
@ -253,6 +253,7 @@ HRESULT CALLBACK DrivesContextMenuCallback(IShellFolder *psf,
|
|||
else if (wParam == CMDID_DISCONNECT)
|
||||
{
|
||||
/* do disconnect */
|
||||
wszBuf[2] = UNICODE_NULL;
|
||||
dwError = WNetCancelConnection2W(wszBuf, 0, FALSE);
|
||||
if (dwError == NO_ERROR)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue