make comment fit the code
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1141663
This commit is contained in:
parent
13bbf360f1
commit
f191943b46
|
@ -446,8 +446,8 @@ bool PartitionTable::isSectorBased(const Device& d) const
|
|||
quint32 numCylinderAligned = 0;
|
||||
quint32 numSectorAligned = 0;
|
||||
|
||||
// if not all partitions start at a point evenly divisable by sectorAlignment it's
|
||||
// a cylinder-aligned msdos partition table
|
||||
// see if we have more cylinder aligned partitions than sector
|
||||
// aligned ones.
|
||||
foreach(const Partition* p, children())
|
||||
if (p->firstSector() % Config::sectorAlignment() == 0)
|
||||
numSectorAligned++;
|
||||
|
|
Loading…
Reference in New Issue