mirror of
https://github.com/reactos/reactos.git
synced 2024-07-06 12:45:16 +00:00
[USETUP]
- Fix an off-by-one bug in the drive letter assignment code that prevented the 4th partition on a disk from being assigned a drive letter svn path=/trunk/; revision=55212
This commit is contained in:
parent
9306cf966f
commit
f7df1564c3
|
@ -88,12 +88,12 @@ AssignDriverLetters (PPARTLIST List)
|
|||
PARTENTRY,
|
||||
ListEntry);
|
||||
|
||||
for (i=0; i<3; i++)
|
||||
for (i=0; i<4; i++)
|
||||
PartEntry->DriveLetter[i] = 0;
|
||||
|
||||
if (PartEntry->Unpartitioned == FALSE)
|
||||
{
|
||||
for (i=0; i<3; i++)
|
||||
for (i=0; i<4; i++)
|
||||
{
|
||||
if (IsContainerPartition (PartEntry->PartInfo[i].PartitionType))
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue