From 064942074006d7de9c9dadc2df6526e28f14cf52 Mon Sep 17 00:00:00 2001 From: Volker Lanz Date: Tue, 27 Apr 2010 10:14:54 +0000 Subject: [PATCH] whitespace svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1119522 --- src/core/partitionalignment.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/partitionalignment.cpp b/src/core/partitionalignment.cpp index 4efaf84..8a4eb10 100644 --- a/src/core/partitionalignment.cpp +++ b/src/core/partitionalignment.cpp @@ -121,7 +121,7 @@ qint64 PartitionAlignment::alignedFirstSector(const Device& d, const Partition& while (s < d.partitionTable()->firstUsable() || s < min_first || (max_length > -1 && p.lastSector() - s + 1 > max_length)) s += sectorAlignment(d); - while (s > d.partitionTable()->lastUsable() || (max_first > -1 && s > max_first) || p.lastSector() - s + 1 < min_length) + while (s > d.partitionTable()->lastUsable() || (max_first > -1 && s > max_first) || p.lastSector() - s + 1 < min_length) s -= sectorAlignment(d); return s;