Author: cgutman
Date: Thu Jan 26 17:01:40 2012
New Revision: 55212
URL:
http://svn.reactos.org/svn/reactos?rev=55212&view=rev
Log:
[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
Modified:
trunk/reactos/base/setup/usetup/partlist.c
Modified: trunk/reactos/base/setup/usetup/partlist.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/partlist…
==============================================================================
--- trunk/reactos/base/setup/usetup/partlist.c [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/partlist.c [iso-8859-1] Thu Jan 26 17:01:40 2012
@@ -88,12 +88,12 @@
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;