Skip to content

Commit

Permalink
Fix drive letter enumeration
Browse files Browse the repository at this point in the history
  • Loading branch information
oviradoi committed Jan 30, 2021
1 parent 9effc64 commit 49b3848
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Explorer/src/Explorer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ BOOL ConvertNetPathName(LPCTSTR pPathName, LPTSTR pRemotePath, UINT length)
TCHAR volumeName[MAX_PATH];
TCHAR remoteName[MAX_PATH];

for (int i = 1; i < 32; i++)
for (int i = 0; i < 32; i++)
{
drivePathName[0] = 'A' + i;

Expand Down
2 changes: 1 addition & 1 deletion Explorer/src/ExplorerDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1604,7 +1604,7 @@ void ExplorerDialog::UpdateDevices(void)
TCHAR TEMP[MAX_PATH] = {0};
TCHAR volumeName[MAX_PATH];

for (int i = 1; i < 32; i++)
for (int i = 0; i < 32; i++)
{
drivePathName[0] = 'A' + i;

Expand Down

0 comments on commit 49b3848

Please sign in to comment.