- 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:
Cameron Gutman 2012-01-26 17:01:40 +00:00
parent 9306cf966f
commit f7df1564c3

View file

@ -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;