mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 14:34:57 +08: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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user