Fix shrink size computation.

I don't get how this could possibly ever have worked.
main
Teo Mrnjavac 9 years ago
parent 983c16d991
commit 601d67988d

@ -540,7 +540,8 @@ ChoicePage::doAlongsideApply()
{
qint64 firstSector = candidate->firstSector();
qint64 oldLastSector = candidate->lastSector();
qint64 newLastSector = m_afterPartitionSplitterWidget->splitPartitionSize() /
qint64 newLastSector = firstSector +
m_afterPartitionSplitterWidget->splitPartitionSize() /
dev->logicalSectorSize();
m_core->resizePartition( dev, candidate, firstSector, newLastSector );

Loading…
Cancel
Save